v.io: v.io/x/ref/lib/vdl/codegen/golang Index | Files

package golang

import "v.io/x/ref/lib/vdl/codegen/golang"

Package golang implements Go code generation from compiled VDL packages.


Package Files

arg.go const.go gen.go import.go reader.go type.go writer.go zero.go

func Generate Uses

func Generate(pkg *compile.Package, env *compile.Env) []byte

Generate takes a populated compile.Package and returns a byte slice containing the generated Go source code.

Package golang imports 14 packages (graph) and is imported by 1 packages. Updated 2020-10-22. Refresh now. Tools for package owners.