Documentation ¶ Index ¶ func Build(rootDir string) ([]byte, error) func Format(data string, opt FormattingOption) ([]byte, error) func RunGofmt(data string) ([]byte, error) func RunGofumpt(data string) ([]byte, error) func Transpile(rootDir string) ([]byte, error) type FormattingOption Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Build ¶ func Build(rootDir string) ([]byte, error) Build a Gno package: gno transpile -gobuild <dir>. TODO: Remove this in the favour of directly using tools/transpile.go func Format ¶ func Format(data string, opt FormattingOption) ([]byte, error) func RunGofmt ¶ func RunGofmt(data string) ([]byte, error) func RunGofumpt ¶ func RunGofumpt(data string) ([]byte, error) func Transpile ¶ func Transpile(rootDir string) ([]byte, error) Transpile a Gno package: gno transpile <dir>. Types ¶ type FormattingOption ¶ type FormattingOption int const ( Gofmt FormattingOption = iota Gofumpt ) Source Files ¶ View all Source files build.go format.go transpile.go Click to show internal directories. Click to hide internal directories.