Setup boilerplate gorm , and admin part
This commit is contained in:
16
routes/publicRoutes.go
Normal file
16
routes/publicRoutes.go
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Created by VoidArtanis on 10/22/2017
|
||||
*/
|
||||
|
||||
package routes
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/VoidArtanis/go-rest-boilerplate/controllers"
|
||||
)
|
||||
|
||||
func RegisterPublicRoutes(r *gin.Engine){
|
||||
|
||||
r.GET("/publicmessage", controllers.GetPublicText)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user