Skip to content

Instantly share code, notes, and snippets.

@Cibernomadas
Last active June 2, 2018 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cibernomadas/e54ebaa6248e666480b1ce8e5f4812a3 to your computer and use it in GitHub Desktop.
Save Cibernomadas/e54ebaa6248e666480b1ce8e5f4812a3 to your computer and use it in GitHub Desktop.
func RegisterRoutes(srv *gin.Engine) {
srv.GET("/", indexFn)
srv.GET("/login", loginFn)
srv.POST("/login", loginFn)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment