Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StructTemplate = `type {{.StructName}} struct{
{{.Fields.String}}
}`
Functions ¶
func EsimFuncMap ¶
func EsimFuncMap() map[string]interface{}
func FirstToUpper ¶ added in v0.1.3
Types ¶
type HTMLTpl ¶ added in v0.0.9
type HTMLTpl struct {
// contains filtered or unexported fields
}
HtmlTpl is the representation of the html parsed template.
type StructInfo ¶
type StructInfo struct { StructName string Fields pkg.Fields // contains filtered or unexported fields }
func NewStructInfo ¶
func NewStructInfo(options ...Option) *StructInfo
func (*StructInfo) String ¶
func (si *StructInfo) String() string
Click to show internal directories.
Click to hide internal directories.