Skip to content

Instantly share code, notes, and snippets.

@kanzitelli
Last active September 6, 2019 17:04
Show Gist options
  • Save kanzitelli/46e623940a2031e8734c594fddb9db66 to your computer and use it in GitHub Desktop.
Save kanzitelli/46e623940a2031e8734c594fddb9db66 to your computer and use it in GitHub Desktop.
server/server.go #1
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