package
0.0.0-20210214190621-52ed2a879018
Repository: https://github.com/mercedtime/api.git
Documentation: pkg.go.dev

# Functions

ErrStatus creates a new error type with a spesific status code.
ListDiscussions returns a handlerfunc that lists discussions.
ListExams returns a handlerfunc that lists exams.
ListInstructors returns a handler func that lists the isntructors in the database.
ListLabs returns a handlerfunc that lists labs.
ListLectures returns a handlerfunc that lists lectures.
New creates a new app.
NewErr creates a new error type.

# Variables

LoggerConfig is a config for gin loggers that has cleaner output.

# Structs

App is the main app.
Config is the application config struct.
DatabaseConfig is the part of the config struct that handles database info.
Error is an app spesific error.
Msg is a standardized response message for misc json endpoints.