Documentation
¶
Index ¶
- Constants
- func Camel2Case(name string) string
- func Case2Camel(name string) string
- func Case2SmallCamel(name string) string
- func LowFirst(str string) string
- func MkDir(path, fileName string)
- func PathExists(path string) (bool, error)
- type Atom
- func (a *Atom) Clear()
- func (a *Atom) CreateApi()
- func (a *Atom) CreateApiFile()
- func (a *Atom) CreateConfig()
- func (a *Atom) CreateDB()
- func (a *Atom) CreateError()
- func (a *Atom) CreateJson()
- func (a *Atom) CreateModel()
- func (a *Atom) CreateRResponse()
- func (a *Atom) CreateRequest()
- func (a *Atom) CreateResponse()
- func (a *Atom) CreateRouter()
- func (a *Atom) CreateService()
- func (a *Atom) CreateUtil()
- func (a *Atom) CreateZLog()
- func (a *Atom) GeneralAutoCode()
- func (a *Atom) InitTemplate()
- func (a *Atom) MkSomeDir()
- type Buffer
- type Model
Constants ¶
View Source
const MODName = "github.com/jtao539/autocode/template"
View Source
const TPL = ".tpl"
Variables ¶
This section is empty.
Functions ¶
func Camel2Case ¶ added in v1.0.19
func Case2SmallCamel ¶
func PathExists ¶
Types ¶
type Atom ¶
func (*Atom) CreateApiFile ¶
func (a *Atom) CreateApiFile()
func (*Atom) CreateConfig ¶ added in v1.0.16
func (a *Atom) CreateConfig()
func (*Atom) CreateError ¶ added in v0.2.10
func (a *Atom) CreateError()
func (*Atom) CreateJson ¶ added in v1.0.13
func (a *Atom) CreateJson()
func (*Atom) CreateModel ¶
func (a *Atom) CreateModel()
func (*Atom) CreateRResponse ¶ added in v0.2.10
func (a *Atom) CreateRResponse()
func (*Atom) CreateRequest ¶ added in v0.2.10
func (a *Atom) CreateRequest()
func (*Atom) CreateResponse ¶ added in v0.2.10
func (a *Atom) CreateResponse()
func (*Atom) CreateRouter ¶ added in v1.0.13
func (a *Atom) CreateRouter()
func (*Atom) CreateService ¶ added in v1.0.13
func (a *Atom) CreateService()
func (*Atom) CreateUtil ¶ added in v1.0.20
func (a *Atom) CreateUtil()
func (*Atom) CreateZLog ¶ added in v1.0.20
func (a *Atom) CreateZLog()
func (*Atom) GeneralAutoCode ¶
func (a *Atom) GeneralAutoCode()
func (*Atom) InitTemplate ¶ added in v1.0.13
func (a *Atom) InitTemplate()
Click to show internal directories.
Click to hide internal directories.