Documentation ¶ Index ¶ type DB func Connect() DB func (db *DB) Delete(table string, id string) bool func (db *DB) Insert(table string, record interface{}) bool func (db *DB) Select(table string) []interface{} func (db *DB) SelectById(table string, id string) interface{} func (db *DB) Update(table string, id string, record interface{}) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DB ¶ type DB struct { // contains filtered or unexported fields } func Connect ¶ func Connect() DB func (*DB) Delete ¶ func (db *DB) Delete(table string, id string) bool func (*DB) Insert ¶ func (db *DB) Insert(table string, record interface{}) bool func (*DB) Select ¶ func (db *DB) Select(table string) []interface{} func (*DB) SelectById ¶ func (db *DB) SelectById(table string, id string) interface{} func (*DB) Update ¶ func (db *DB) Update(table string, id string, record interface{}) bool Source Files ¶ View all Source files database.go Directories ¶ Show internal Expand all Path Synopsis file Click to show internal directories. Click to hide internal directories.