Documentation
¶
Overview ¶
Package database contains an repository of database schema ” Auto-generated at Fri, 12 Apr 2019 13:09:42 CEST
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Schema = migration.Schema
Schema represents the database schema
Functions ¶
Types ¶
type UserRepository ¶
type UserRepository struct {
// Gateway connects the repository to the underlying database
Gateway *orm.Gateway
}
UserRepository represents a repository for 'users'
func (*UserRepository) InsertUser ¶
InsertUser inserts a record of type User into the database
Click to show internal directories.
Click to hide internal directories.