generate

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ast

func Ast(file string) (f *ast.File, t *token.FileSet, err error)

Ast returns the *ast.File of file or an error.

func Handlers

func Handlers(path ...string) ([]string, error)

Handlers returns the handlers, except global and unpack.

func Types

func Types(file string) ([]string, error)

Handler returns all types names from file that are exported.

func Write

func Write(b *bytes.Buffer, out string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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