generate facade service
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Code generated by hertz generator. DO NOT EDIT.
|
||||
|
||||
package facade
|
||||
|
||||
import (
|
||||
"github.com/cloudwego/hertz/pkg/app/server"
|
||||
facade "github.com/suyiiyii/hertz101/app/facade/biz/handler/facade"
|
||||
)
|
||||
|
||||
/*
|
||||
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) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Code generated by hertz generator.
|
||||
|
||||
package facade
|
||||
|
||||
import (
|
||||
"github.com/cloudwego/hertz/pkg/app"
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
// Code generated by hertz generator. DO NOT EDIT.
|
||||
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/cloudwego/hertz/pkg/app/server"
|
||||
facade "github.com/suyiiyii/hertz101/app/facade/biz/router/facade"
|
||||
)
|
||||
|
||||
// GeneratedRegister registers routers generated by IDL.
|
||||
func GeneratedRegister(r *server.Hertz) {
|
||||
//INSERT_POINT: DO NOT DELETE THIS LINE!
|
||||
facade.Register(r)
|
||||
}
|
||||
Reference in New Issue
Block a user