Setup boilerplate gorm , and admin part

This commit is contained in:
Nedim
2023-09-04 11:13:21 +02:00
parent eb4303bb08
commit 62de1401e5
17 changed files with 698 additions and 86 deletions

View File

@@ -0,0 +1,15 @@
/**
* Created by VoidArtanis on 10/22/2017
*/
package controllers
import "github.com/gin-gonic/gin"
func GetSecretText(c *gin.Context){
c.JSON(200, "Hi this is a secret message. Auth was successful!")
}
func GetPublicText(c *gin.Context){
c.JSON(200, "Hi this is a public message!")
}