✨ Init
This commit is contained in:
4
resource/autocode_template/subcontract/api_enter.go.tpl
Normal file
4
resource/autocode_template/subcontract/api_enter.go.tpl
Normal file
@@ -0,0 +1,4 @@
|
||||
package {{ .PackageName }}
|
||||
|
||||
type ApiGroup struct {
|
||||
}
|
14
resource/autocode_template/subcontract/data.go
Normal file
14
resource/autocode_template/subcontract/data.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package subcontract
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed api_enter.go.tpl
|
||||
var API []byte
|
||||
|
||||
//go:embed router_enter.go.tpl
|
||||
var Router []byte
|
||||
|
||||
//go:embed service_enter.go.tpl
|
||||
var Server []byte
|
@@ -0,0 +1,4 @@
|
||||
package {{ .PackageName }}
|
||||
|
||||
type RouterGroup struct {
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
package {{ .PackageName }}
|
||||
|
||||
|
||||
type ServiceGroup struct {
|
||||
}
|
||||
|
Reference in New Issue
Block a user