Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DBOnce sync.Once
DBOnce used to execute client creation procedure only once. nolint:gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is database type that implement database interface.
func (*DB) AddNewCard ¶
AddNewCard get card and add it to database.
func (*DB) CreateCardTable ¶
CreateCardTable check if card table exist or not and if not creates one.
func (*DB) DeleteCard ¶
DeleteCard get card id and remove it from database.
Click to show internal directories.
Click to hide internal directories.