package
0.0.0-20220408233719-f59250d67a31
Repository: https://github.com/ariel17/golang-base.git
Documentation: pkg.go.dev

# Functions

GetDB returns a GORM object connected to database, if everything goes well.
GetDSN returns the DSN connection string for the MySQL database.
GetPort returns the port value where the server will be listening for new connections.
GetStatusQuery returns the SQL query to execute when verifying application status.
IsProduction checks the environment name and indicates if it is production or not.