package
Version:
v0.0.0-...-ae7a097
Opens a new window with list of versions in this module.
Published: May 29, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConnectToDb - Initializes the ORM and Connection to the postgres DB
GetOrmObject - Getter function for the ORM object with which we can query the database
type Users struct {
UserId int `orm:"auto"`
Email string `orm:"size(128)"`
Password string `orm:"size(64)"`
UserName string `orm:"size(32)"`
Bio string `orm:"size(256);null"`
Image string `orm:"size(256);null"`
}
Users - Model for the uses table
Source Files
¶
Click to show internal directories.
Click to hide internal directories.