Documentation ¶ Index ¶ Constants func Generate(dir string, pkgs []string) error type ErrorList func (list ErrorList) Error() string Constants ¶ View Source const ( Usage = `` /* 1273-byte string literal not displayed */ ) Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(dir string, pkgs []string) error Generate generates Service Weaver code for the specified packages. The list of supplied packages are treated similarly to the arguments passed to "go build" (see "go help packages" for details). Types ¶ type ErrorList ¶ type ErrorList []error ErrorList holds a list of errors. func (ErrorList) Error ¶ func (list ErrorList) Error() string Source Files ¶ View all Source files generator.go types.go Click to show internal directories. Click to hide internal directories.