初始化

This commit is contained in:
GoEdgeLab
2020-07-22 09:59:40 +08:00
commit cc971be504
33 changed files with 14561 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package index
import (
"github.com/iwind/TeaGo"
)
func init() {
TeaGo.BeforeStart(func(server *TeaGo.Server) {
server.Prefix("/").
GetPost("", new(IndexAction)).
EndAll()
})
}