Documentation
¶
Index ¶
Constants ¶
View Source
const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Magenta = "\033[35m" Cyan = "\033[36m" White = "\033[37m" BlueBold = "\033[34;1m" MagentaBold = "\033[35;1m" RedBold = "\033[31;1m" YellowBold = "\033[33;1m" )
Colors
View Source
const LatestMigrationFile = "./db/migrations.latest"
Variables ¶
View Source
var DB *gorm.DB
View Source
var ErrRecordNotFound = errors.New("record not found")
ErrRecordNotFound record not found error
View Source
var ( // RecorderParamsFilter defaults to no-op, allows to be run-over by a different implementation RecorderParamsFilter = func(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) { return sql, params } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.