Documentation ¶
Index ¶
- type Buffer
- type Helpers
- func (receiver Helpers) Camel2Case(name string) string
- func (receiver Helpers) Case2Camel(name string) string
- func (receiver Helpers) CreateFile(file string, content string)
- func (receiver Helpers) ExistFile(file string) bool
- func (receiver Helpers) GetDatabaseConfig() map[string]string
- func (receiver Helpers) GetLineNum(file string) int
- func (receiver Helpers) RemoveFile(file string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helpers ¶ added in v0.4.0
type Helpers struct{}
func (Helpers) Camel2Case ¶ added in v0.4.0
func (Helpers) Case2Camel ¶ added in v0.4.0
func (Helpers) CreateFile ¶ added in v0.4.0
CreateFile Create a file at the given path.
func (Helpers) GetDatabaseConfig ¶ added in v0.4.0
GetDatabaseConfig Get database config from ENV.
func (Helpers) GetLineNum ¶ added in v0.4.0
GetLineNum Get file line num.
func (Helpers) RemoveFile ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.