This commit is contained in:
ljw committed 2024-09-13 15:57:29 +08:00
commit c53df223d1
112 files changed
+14353

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
//go:build !windows
package http
import (
"github.com/fvbock/endless"
"github.com/gin-gonic/gin"
)
func Run(g *gin.Engine, addr string) {
endless.ListenAndServe(addr, g)
}