Documentation ¶
Index ¶
- Variables
- func DeleteOne(cache *core.Cache, key string) bool
- func DumpAll() string
- func GetAll[T any](cache *core.Cache, model T) (map[string]T, int)
- func GetGravatarURL(emailInput string, channel chan string) string
- func GetOne[T any](cache *core.Cache, key string, model T) (T, bool)
- func LoadAll() string
- func Router() chi.Router
- func RunMigrations() bool
- func SetOne[T any](cache *core.Cache, key string, model T) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetGravatarURL ¶
GetGravatarURL function returns the avatar image location/URL, or it defaults to a app logo.
func RunMigrations ¶
func RunMigrations() bool
RunMigrations is a "wrapper" function for the migration registration and execution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.