Documentation ¶
Overview ¶
Package mdg is the Model Drivern Generator Toolbox
Index ¶
- Constants
- func CKebab(n mdd.Name) string
- func CSep(n mdd.Name, sep string) string
- func CSnake(n mdd.Name) string
- func Camel(n mdd.Name, lower1 bool) mdd.Name
- func Compare(l, r mdd.Name) int
- func LCamel(n mdd.Name) string
- func LKebab(n mdd.Name) string
- func LSep(n mdd.Name, sep string) string
- func LSnake(n mdd.Name) string
- func TemplateFuncs() map[string]any
- func UCamel(n mdd.Name) string
- func UKebab(n mdd.Name) string
- func USep(n mdd.Name, sep string) string
- func USnake(n mdd.Name) string
- type GenDir
- type MergeConfig
- type MergedFile
Constants ¶
View Source
const ( Snake = "_" Kebab = "-" )
Variables ¶
This section is empty.
Functions ¶
func TemplateFuncs ¶
Types ¶
type MergeConfig ¶
type MergedFile ¶
type MergedFile struct {
// contains filtered or unexported fields
}
func NewMergedFile ¶
func NewMergedFile(name string, cfg *MergeConfig) (*MergedFile, error)
func (*MergedFile) Close ¶
func (f *MergedFile) Close() error
Click to show internal directories.
Click to hide internal directories.