first commit

This commit is contained in:
2025-12-30 21:47:39 +09:00
commit 0a37314fa8
47 changed files with 6088 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package middleware
import (
"time"
"github.com/gin-gonic/gin"
)
func RequestTimer() gin.HandlerFunc {
return func(c *gin.Context) {
c.Set("startTime", time.Now())
c.Next()
}
}