package
0.0.0-20190918225653-19f2fab93aed
Repository: https://github.com/k-jun1221/golang-server-template.git
Documentation: pkg.go.dev

# Functions

AddOrganizationHook registers your hook function for all future operations.
AddUserHook registers your hook function for all future operations.
FindOrganization retrieves a single record by ID with an executor.
FindUser retrieves a single record by ID with an executor.
NewQuery initializes a new Query using the passed in QueryMods.
OrganizationExists checks if the Organization row exists.
Organizations retrieves all the records using an executor.
UserExists checks if the User row exists.
Users retrieves all the records using an executor.

# Variables

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information.
No description provided by the author
OrganizationRels is where relationship names are stored.
No description provided by the author
No description provided by the author
No description provided by the author
UserRels is where relationship names are stored.
No description provided by the author

# Structs

Organization is an object representing the database table.
User is an object representing the database table.

# Type aliases

M type is for providing columns and column values to UpdateAll.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author