Documentation ¶
Index ¶
- type DBFieldParser
- func (p *DBFieldParser) ParseBool(value string) (bool, error)
- func (p *DBFieldParser) ParseInt64(value string) (int64, error)
- func (p *DBFieldParser) ParseInt64List(value string) ([]int64, error)
- func (p *DBFieldParser) ParseString(value string) (string, error)
- func (p *DBFieldParser) ParseStringList(value string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBFieldParser ¶
type DBFieldParser struct {
// contains filtered or unexported fields
}
DBFieldParser - объект для преобразования данных поступающих из хранилища данных в формат для внешнего использования.
func (*DBFieldParser) ParseBool ¶
func (p *DBFieldParser) ParseBool(value string) (bool, error)
ParseBool - comment method.
func (*DBFieldParser) ParseInt64 ¶
func (p *DBFieldParser) ParseInt64(value string) (int64, error)
ParseInt64 - comment method.
func (*DBFieldParser) ParseInt64List ¶
func (p *DBFieldParser) ParseInt64List(value string) ([]int64, error)
ParseInt64List - comment method.
func (*DBFieldParser) ParseString ¶
func (p *DBFieldParser) ParseString(value string) (string, error)
ParseString - comment method.
func (*DBFieldParser) ParseStringList ¶
func (p *DBFieldParser) ParseStringList(value string) ([]string, error)
ParseStringList - comment method.
Click to show internal directories.
Click to hide internal directories.