Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeGenerator ¶ added in v0.2.6
type CodeGenerator struct {
Import *imports.Import
Path string // Path that triggers the generator (e.g. "bud/cmd/app/main.go")
Camel string
}
func (*CodeGenerator) Method ¶ added in v0.2.8
func (c *CodeGenerator) Method() (string, error)
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func (*Generator) GenerateFile ¶
GenerateFile connects to the remotefs and mounts the remote directory.
type State ¶
type State struct {
Imports []*imports.Import
FileGenerators []*CodeGenerator
FileServers []*CodeGenerator
GenerateDirs []*CodeGenerator
ServeFiles []*CodeGenerator
}
Click to show internal directories.
Click to hide internal directories.