package
0.0.0-20221226145334-3719db459f18
Repository: https://github.com/jesseokeya/go-rest-api-template.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetTimeUTCPointer gets utc time pointer.
No description provided by the author
NewDB initializes / opens a new database connection.
No description provided by the author
No description provided by the author
RandString generates random sting from characters in letters.
No description provided by the author
No description provided by the author
Users retrieves a list of all users.

# Constants

UserRoleAdmin is user role admin.
UserRoleBlocked is user role blocked.
UserRoleMember is user role member.

# Variables

DB is a pointer to the database interface.
No description provided by the author
No description provided by the author

# Structs

Database holds database postgres table structure.
DBConf database configuration.
No description provided by the author
No description provided by the author
OAuthClientsStore holds oauth_tokens database collection.
No description provided by the author
No description provided by the author
OAuthTokensStore holds oauth_tokens database collection.
User holds postgres data structure for user.
UserEtc is a collection of auxillary key/values around a user.
UsersStore holds thread users database collection.

# Type aliases

UserRole is users role.