Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int32Slice ¶
type Int32Slice []int32
Int32Slice can be scanned out of the DB
func (*Int32Slice) Scan ¶
func (s *Int32Slice) Scan(src interface{}) error
Scan Implements sql.Scanner for the String slice type Scanners take the database value (in this case as a byte slice) and sets the value of the type. Here we cast to a string and do a regexp based parse
type Int64Slice ¶
type Int64Slice []int64
Int64Slice can be scanned out of the DB
func (*Int64Slice) Scan ¶
func (s *Int64Slice) Scan(src interface{}) error
Scan Implements sql.Scanner for the String slice type Scanners take the database value (in this case as a byte slice) and sets the value of the type. Here we cast to a string and do a regexp based parse
type StringSlice ¶
type StringSlice []string
StringSlice can be scanned out of the DB - copied from https://gist.github.com/adharris/4163702
func (*StringSlice) Scan ¶
func (s *StringSlice) Scan(src interface{}) error
Scan Implements sql.Scanner for the String slice type Scanners take the database value (in this case as a byte slice) and sets the value of the type. Here we cast to a string and do a regexp based parse