main.go
296 字节
package main
import (
"fmt"
"github.com/beego/beego/v2/server/web"
_ "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego"
)
func main() {
tree := web.PrintTree()
methods := tree["Data"].(web.M)
for k, v := range methods {
fmt.Printf("%s => %v \n", k, v)
}
web.Run()
}