This commit is contained in:
sjk
2025-11-17 13:39:05 +08:00
commit d4cfe2b9de
479 changed files with 109324 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// api/handlers/hello_handler.go
package handlers
import (
"net/http"
"github.com/gin-gonic/gin"
)
// HelloHandler 处理 /hello 请求
func HelloHandler(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"message": "Hello from a structured project!",
})
}