Documentation ¶ Index ¶ type Action type Def type Generator func (g *Generator) GenerateFile(ctx context.Context, fsys overlay.F, file *overlay.File) error type State func Load(fsys fs.FS, module *gomod.Module, parser *parser.Parser) (*State, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Action ¶ type Action struct { Method string Route string CallName string } type Def ¶ type Def struct { Type string Name string } type Generator ¶ type Generator struct { Module *gomod.Module Parser *parser.Parser } func (*Generator) GenerateFile ¶ func (g *Generator) GenerateFile(ctx context.Context, fsys overlay.F, file *overlay.File) error type State ¶ type State struct { Imports []*imports.Import Actions []*Action HasPublic bool HasView bool // Show the welcome page ShowWelcome bool } func Load ¶ func Load(fsys fs.FS, module *gomod.Module, parser *parser.Parser) (*State, error) Source Files ¶ View all Source files loader.gostate.goweb.go Click to show internal directories. Click to hide internal directories.