Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitManager ¶
func InitManager(conf *Config)
InitManager creates an instace of gifven manager type
Types ¶
type Manager ¶
type Manager interface { GetBoardByID(c *gin.Context, id string) (models.Board, error) InsertBoard(c *gin.Context, board models.Board) error UpdateBoard(c *gin.Context, board models.Board) error Close(c *gin.Context) }
Manager provides interface to communicate with database chosen by the user
Click to show internal directories.
Click to hide internal directories.