Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Generators = make(map[string]*Generator)
Functions ¶
func RegisterGenerator ¶
func RegisterGenerator(s *Generator)
Types ¶
type Generator ¶
type Generator struct { Name string Print func(schema *spec.T, options *PrintOptions) []*generator.GenerateResultItem }
func NewGeneratorFromFile ¶
type PrintOptions ¶
type PrintOptions struct {
GetConfig func(key string) interface{}
}
Click to show internal directories.
Click to hide internal directories.