feat: start recode backend to golang

This commit is contained in:
d3m0k1d
2026-02-03 13:58:58 +03:00
parent afd9658005
commit 94aae8e3ec
29 changed files with 376 additions and 575 deletions

15
backend/cmd/main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
docs "gitea.d3m0k1d.ru/d3m0k1d/d3m0k1d.ru/backend/docs"
"github.com/gin-gonic/gin"
)
func main() {
router := gin.Default()
docs.SwaggerInfo.BasePath = "/api/v1"
docs.SwaggerInfo.Title = "d3m0k1d.ru"
docs.SwaggerInfo.Version = "1.0"
router.Run()
}