Documentation ¶
Index ¶
- Constants
- type ActiveRecord
- func (rd *ActiveRecord) Format(s fmt.State, verb rune)
- func (rd *ActiveRecord) Get(colName string) (string, error)
- func (rd *ActiveRecord) GetInt(colName string) (int, error)
- func (rd *ActiveRecord) GetInt64(colName string) (int64, error)
- func (rd *ActiveRecord) GetString(colName string) (string, error)
- type ActiveRecordList
Constants ¶
View Source
const ( ErrValueConvert = iota ErrColNotFind ErrEmptyName ErrParseRows )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveRecord ¶
type ActiveRecord struct {
// contains filtered or unexported fields
}
func GetActiveRecord ¶
func GetActiveRecord(rows *sql.Rows) (*ActiveRecord, error)
type ActiveRecordList ¶
type ActiveRecordList []*ActiveRecord
func GetActiveRecordList ¶
func GetActiveRecordList(rows *sql.Rows) (ActiveRecordList, error)
Click to show internal directories.
Click to hide internal directories.