generate

package
v0.0.0-...-2d69983 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bindata

func Bindata(c *configs.BindataConfig) error

Bindata reads assets from an input directory, converts them to Go code and writes new files to the output specified in the given configuration.

func Enums

func Enums(config configs.EnumsConfig) error

func Model

func Model(config configs.ModelConfig) error

todo: refactor 1. Analyze model(s) 2. Gen by template 3. Write file

Types

type ByName

type ByName []os.FileInfo

Implement sort.Interface for []os.FileInfo based on Name()

func (ByName) Len

func (v ByName) Len() int

func (ByName) Less

func (v ByName) Less(i, j int) bool

func (ByName) Swap

func (v ByName) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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