Documentation
¶
Overview ¶
Package types provides MySQL database type to Go type mapping.
Package types provides PostgreSQL database type to Go type mapping.
Package types provides database column type to Go type mapping.
Index ¶
Constants ¶
View Source
const ( KindNumeric = "NUMERIC" KindString = "STRING" KindBytes = "BYTES" KindTime = "TIME" KindEnum = "ENUM" KindBoolean = "BOOL" KindStruct = "STRUCT" KindArray = "ARRAY" )
Variables ¶
View Source
var ErrUnsupportedArrayType = errors.New("unsupported array type")
View Source
var ErrUnsupportedType = errors.New("unsupported type")
Functions ¶
func TypeToKind ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.