generate

package
v0.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

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, opt Options) 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 Options added in v0.7.2

type Options struct {
	// If non-nil, use the specified function to report warnings.
	Warn func(error)
}

Options controls the operation of Generate.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL