internal/gen: doc exported symbols (#9)
This commit is contained in:
@@ -11,6 +11,10 @@ type build struct {
|
||||
prnt.Generator
|
||||
}
|
||||
|
||||
// NewBuild builds a printer that will generate instruction functions in the
|
||||
// build package. Each instruction will have one method on the build.Context
|
||||
// type, and a corresponding wrapper operating on the global Context. These
|
||||
// functions are thin wrappers around constructors generated by NewCtors.
|
||||
func NewBuild(cfg printer.Config) Interface {
|
||||
return GoFmt(&build{cfg: cfg})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user