package
0.0.0-20170130152039-52be0da7857a
Repository: https://github.com/cleverua/tuna-timer-api.git
Documentation: pkg.go.dev
# Functions
ConnectToDatabase todo.
FormatDuration formats duration to be like HH:MMh regardless of days, months etc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewEnvironment creates a new environment.
NormalizeSlackCustomCommand will extract the subcommand form command (see scheme below_) and update the original command: Say the command was: Text = "start Add MongoDB service to docker-compose.yml" The method will do this: SubCommand = "start" Text = "Add MongoDB service to docker-compose.yml".
PrintBanner just a bit of fun.
stands for parse time.
No description provided by the author
No description provided by the author
No description provided by the author
TruncateTables - clears database tables, supposed to be run in test's setup method.
WhichTimezoneIsMidnightAt - based up on UTC hour it returns an offset (in seconds) for a timezone where midnight (00:00) is.
# Constants
No description provided by the author
ConfigFile - path to YML config file.
No description provided by the author
No description provided by the author
No description provided by the author
DevelopmentEnv - a value that indicates about development env.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProductionEnv - a value that indicates about production env.
TestEnv - a value that indicates about test env.
# Structs
Environment is a thing that holds env.