Documentation ¶
Overview ¶
Package models contains the types for schema 'pw'.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var XOLog = func(string, ...interface{}) {}
XOLog provides the log func used by generated queries.
Functions ¶
This section is empty.
Types ¶
type NullFloat64 ¶
type NullFloat64 struct {
sql.NullFloat64
}
func (NullFloat64) MarshalJSON ¶
func (v NullFloat64) MarshalJSON() ([]byte, error)
func (*NullFloat64) UnmarshalJSON ¶
func (v *NullFloat64) UnmarshalJSON(data []byte) error
type NullString ¶
type NullString struct {
sql.NullString
}
func (*NullString) MarshalJSON ¶
func (v *NullString) MarshalJSON() ([]byte, error)
func (*NullString) UnmarshalJSON ¶
func (v *NullString) UnmarshalJSON(data []byte) error
type NullTime ¶
NullTime is a type that can be null or a time.
func (NullTime) MarshalJSON ¶
func (*NullTime) UnmarshalJSON ¶
type ScannerValuer ¶
ScannerValuer is the common interface for types that implement both the database/sql.Scanner and sql/driver.Valuer interfaces.
type StringSlice ¶
type StringSlice []string
StringSlice is a slice of strings.
func (*StringSlice) Scan ¶
func (ss *StringSlice) Scan(src interface{}) error
Scan satisfies the sql.Scanner interface for StringSlice.
type XODB ¶
type XODB interface { Exec(string, ...interface{}) (sql.Result, error) Query(string, ...interface{}) (*sql.Rows, error) QueryRow(string, ...interface{}) *sql.Row }
XODB is the common interface for database operations that can be used with types from schema 'pw'.
This should work with database/sql.DB and database/sql.Tx.
Click to show internal directories.
Click to hide internal directories.