Documentation ¶
Index ¶
- type Parser
- func (p *Parser) ExtractAllColumnsFromStructOrSlice(model interface{}, notZeroOnly bool) []string
- func (p *Parser) ExtractAllValuesFromStruct(model interface{}, notZeroOnly bool) []string
- func (p *Parser) ExtractAllValuesFromStructOrSlice(model interface{}, notZeroOnly bool) [][]string
- func (p *Parser) ExtractPrimaryKey(model interface{}) string
- func (p *Parser) GetTableName(dataType interface{}) string
- type Processor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct{}
func (*Parser) ExtractAllColumnsFromStructOrSlice ¶
func (*Parser) ExtractAllValuesFromStruct ¶
func (*Parser) ExtractAllValuesFromStructOrSlice ¶
func (*Parser) ExtractPrimaryKey ¶
func (*Parser) GetTableName ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
Click to show internal directories.
Click to hide internal directories.