Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateDatabase ¶
MigrateDatabase performs a database migration
func NewNullString ¶
func NewNullString(s string) sql.NullString
NewNullString converts a string to sql.NullString
func NewNullTime ¶
NewNullTime converts time.Time to sql.NullTime
func NewNullTimePB ¶
func NewNullTimePB(s *timestamppb.Timestamp) sql.NullTime
NewNullTimePB converts a timestamppb.Timestamp to sql.NullString
func ParseSQLError ¶
ParseSQLError turns mysql errors into codes
Types ¶
Click to show internal directories.
Click to hide internal directories.