This commit is contained in:
cdle
2021-09-28 10:34:15 +08:00
parent 3d977e817f
commit 8ff1a94080
4 changed files with 18 additions and 4 deletions
+5
View File
@@ -8,6 +8,11 @@ func init() {
Server = gin.New()
}
var Tail = "--来自sillyGirl,傻妞技术交流群654346133。"
func RunServer() {
Server.GET("/", func(c *gin.Context) {
c.String(200, Tail)
})
Server.Run(":" + sillyGirl.Get("port", "8080"))
}