github.com/sohaha/zlsgo@v1.7.13-0.20240501141223-10dd1a906f76/znet/doc.go (about) 1 /* 2 Package znet provides web service 3 package main 4 5 import ( 6 "github.com/sohaha/zlsgo/znet" 7 ) 8 9 10 func main(){ 11 r := znet.New() 12 13 r.SetMode(znet.DebugMode) 14 r.GET("/", func(c znet.Context) { 15 c.String(200, "hello world") 16 }) 17 18 znet.Run() 19 } 20 */ 21 package znet