Last active
June 2, 2018 13:55
-
-
Save Cibernomadas/e54ebaa6248e666480b1ce8e5f4812a3 to your computer and use it in GitHub Desktop.
This file contains 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
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