u
This commit is contained in:
1 parent
ac0843c041
commit
a917be08d1
65 files changed
+8043
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// Code generated by hertz generator. DO NOT EDIT.
|
||||
|
||||
package hello
|
||||
|
||||
import (
|
||||
hello "cn/oneao/base-go/biz/handler/hello"
|
||||
"github.com/cloudwego/hertz/pkg/app/server"
|
||||
)
|
||||
|
||||
/*
|
||||
This file will register all the routes of the services in the master idl.
|
||||
And it will update automatically when you use the "update" command for the idl.
|
||||
So don't modify the contents of the file, or your code will be deleted when it is updated.
|
||||
*/
|
||||
|
||||
// Register register routes based on the IDL 'api.${HTTP Method}' annotation.
|
||||
func Register(r *server.Hertz) {
|
||||
|
||||
root := r.Group("/", rootMw()...)
|
||||
root.GET("/hello", append(_method1Mw(), hello.Method1)...)
|
||||
}
|
||||
Reference in new issue
Block a user