Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config *config
View Source
var DB *gorm.DB
Functions ¶
func HashPassword ¶
func LoadConfig ¶
func LoadConfig(fileName string)
Types ¶
type CustomContext ¶
func (*CustomContext) BadRequest ¶
func (c *CustomContext) BadRequest(message string) error
func (*CustomContext) Conflict ¶
func (c *CustomContext) Conflict(message string) error
func (*CustomContext) Internal ¶
func (c *CustomContext) Internal(message string) error
func (*CustomContext) NotFound ¶
func (c *CustomContext) NotFound(message string) error
func (*CustomContext) OK ¶
func (c *CustomContext) OK(v interface{}) error
Click to show internal directories.
Click to hide internal directories.