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 bootstrapped_native.go bootstrapped_tags.go bootstrapped_template.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 2021-01-27. Refresh now. Tools for package owners.