1234567891011121314 |
- package root
- import (
- "baize-playground/gateway/api/root/example"
- "git.sxidc.com/go-framework/baize/framework/core/api"
- "git.sxidc.com/go-framework/baize/framework/gateway"
- )
- type Router struct{}
- func (router *Router) Init(gw *gateway.Gateway) {
- builder := gw.NewBuilder(api.RouterPrefix, "")
- example.InitGateway(builder)
- }
|