package
0.0.0-20210513041603-bcbc1e128ef6
Repository: https://github.com/myminicommission/api.git
Documentation: pkg.go.dev
# Functions
GetCommission returns the commission with the provided ID.
GetCommissionedMini returns the commissioned mini with the given id.
GetCommissionedMinis returns the minis associated with a commission.
GetGame returns the first Game record with matching ID.
GetGameMini returns the first GameMini record with matching ID.
GetGameMinis returns all GameMini records associated with the given Game ID.
GetGames returns an alpha sorted collection of Games.
GetMiniConfig gets a single MiniConfig for the given ID.
GetMiniConfigs gets MiniConfig records from the DB for the given user.
GetMyCommissions returns commissions where the supplied user is either the artist or the patron.
GetUser retrieves a User record for the given ID.
GetUserWithEmail returns the DB model for a User for the given email.
GetUserWithNickname returns the DB model for a User for the given nickname.