Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
Scanner is a type that will Scan your query's result.
func NewScanner ¶
NewScanner is a function for creating new Scanner. Have in mind that Scanner is always successfully created, but later Scan method could fail because of problems is 'rows'.
func (*Scanner) Scan ¶
Scan is the 'meat' of the package. It scan the 'rows' input into the 'dest' parameter. Dest variable could be: - primitive type(string, int, bool, interface{}) - struct (with or without 'sql' tags); - map with key(int, string, interface{}); - slice in combination with some of the above types;
Click to show internal directories.
Click to hide internal directories.