Documentation ¶ Index ¶ Constants func Generate(dir string, pkgs []string) error Constants ¶ View Source const ( Usage = `` /* 1264-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 ¶ This section is empty. Source Files ¶ View all Source files generator.go types.go Click to show internal directories. Click to hide internal directories.