Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EsimFactory ¶ added in v0.0.9
type EsimFactory struct { // 需要被处理的结构体名称. StructName string // 首字母大写. UpStructName string LowerStructName string ShortenStructName string WithNew bool SpecFieldInitStr string // contains filtered or unexported fields }
func NewEsimFactory ¶ added in v0.0.5
func NewEsimFactory(options ...Option) *EsimFactory
func (*EsimFactory) TypeToInit ¶ added in v0.1.3
func (ef *EsimFactory) TypeToInit(ident *dst.Ident) string
type FieldSizes ¶ added in v0.1.3
type FieldSizes []FieldSize
func (FieldSizes) Len ¶ added in v0.1.3
func (fs FieldSizes) Len() int
func (FieldSizes) Less ¶ added in v0.1.3
func (fs FieldSizes) Less(i, j int) bool
func (FieldSizes) Swap ¶ added in v0.1.3
func (fs FieldSizes) Swap(i, j int)
type Option ¶ added in v0.0.7
type Option func(*EsimFactory)
func WithEsimFactoryLogger ¶ added in v0.0.7
func WithEsimFactoryWriter ¶ added in v0.0.7
func WithEsimFactoryWriter(writer filedir.IfaceWriter) Option
Click to show internal directories.
Click to hide internal directories.