func ExampleGenerate() {
	p, err := asyncpi.Parse(strings.NewReader("(new a)(new b)(a<b> | a(x).x<> | b().0)"))
	if err != nil {
		fmt.Println(err)  
	}
	if err := asyncpi.Bind(&p); err != nil {
		fmt.Println(err)
	}
	types.Infer(p)
	err = types.Unify(p)
	if err != nil {
		fmt.Println(err)  
	}
	golang.Generate(p, os.Stdout)
}
This example shows how to generate code from a Process.
package golang_test
import (
	"fmt"
	"os"
	"strings"
	"go.nickng.io/asyncpi"
	"go.nickng.io/asyncpi/codegen/golang"
	"go.nickng.io/asyncpi/types"
)