Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { Migrate(object interface{}) MigrateAll(objects ...interface{}) Create(value ...interface{}) Update(value interface{}) Delete(value interface{}) Find(out interface{}, where ...interface{}) error }
Database is a public interface to a Relational Database using gorm
func NewDatabase ¶
func NewDatabase() Database
NewDatabase creates a new Database instance and opens with default
Click to show internal directories.
Click to hide internal directories.