diff --git a/develop/dwz/init.go b/develop/dwz/init.go new file mode 100644 index 0000000..b930680 --- /dev/null +++ b/develop/dwz/init.go @@ -0,0 +1,13 @@ +package dwz + +import ( + "github.com/cdle/sillyGirl/core" + "github.com/gin-gonic/gin" +) + +func init() { + core.Server.GET("/http:add", func(c *gin.Context) { + addr := "http" + c.Param("add") + c.String(200, addr) + }) +}