Last active
September 6, 2019 17:04
-
-
Save kanzitelli/46e623940a2031e8734c594fddb9db66 to your computer and use it in GitHub Desktop.
server/server.go #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package server | |
import ( | |
) | |
// Init <function> | |
// is used to initialize server and all the corresponding services such as DB, Utils, Workers | |
func Init() { | |
// utils | |
utils.InitEnvVars() | |
r := NewRouter() | |
r.Run(":6969") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment