Documentation
¶
Index ¶
- type GenModel
- func (g *GenModel) ConvertFrom(in, out string, typ *spec.Type) error
- func (g *GenModel) ConvertFromMulti(in, out string, typ *spec.Type, explode bool) error
- func (g *GenModel) ConvertTo(in, out string, typ *spec.Type) error
- func (g *GenModel) ConvertToMulti(in, out string, typ *spec.Type, explode bool) error
- func (g *GenModel) GetPkgPath(path string) (string, bool)
- func (g *GenModel) Paths(typ *spec.Type) bool
- func (g *GenModel) PkgPath(path string) bool
- func (g *GenModel) Ptr(typ *spec.Type) bool
- func (g *GenModel) PtrTypes(typ *spec.Type) (err error)
- func (g *GenModel) Types(typ *spec.Type) (err error)
- func (g *GenModel) TypesDefine(typ *spec.Type) (err error)
- func (g *GenModel) TypesZero(typ *spec.Type) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenModel ¶
type GenModel struct {
// contains filtered or unexported fields
}
GenModel is the generating generating
func (*GenModel) ConvertFromMulti ¶ added in v0.2.7
func (*GenModel) ConvertToMulti ¶
Click to show internal directories.
Click to hide internal directories.