将Sandbox融入到Explore*

This commit is contained in:
chenxinquan 2022-11-07 14:31:05 +08:00
parent 3fe2fe0807
commit 02ad846e21
4 changed files with 53 additions and 2 deletions

View File

@ -30,6 +30,8 @@
package genmai
// Matchers 解析验证
type Matchers struct{
Type string
@ -86,3 +88,6 @@ type ConfigCommon struct {
/* */
// other fields
}
type ExplorerCommon struct {
}

View File

@ -30,6 +30,15 @@
package genmai
import (
// TODO:
// 应该写成相对路径因为genmai应该是编译成库所以包路径不
// 是以main开头。
//
// go 有点拉
sandbox "main/src/genmai/Sandbox"
)
type ConfigKernel struct {
FormatVer int
Id string
@ -39,3 +48,9 @@ type ConfigKernel struct {
SiteInfo SiteInfo
SiteRequests SiteRequests
}
type ExplorerKernel struct {
ExplorerCommon
/* */
ekSandbox sandbox.SandboxBase
}

View File

@ -28,7 +28,16 @@
package genmai
type ExplorerSystem struct {
import (
// TODO:
// 应该写成相对路径因为genmai应该是编译成库所以包路径不
// 是以main开头。
//
// go 有点拉
sandbox "main/src/genmai/Sandbox"
)
type ConfigSystem struct {
FormatVer int
Id string
Belong string
@ -37,3 +46,9 @@ type ExplorerSystem struct {
SiteInfo SiteInfo
SiteRequests SiteRequests
}
type ExplorerSystem struct {
ExplorerCommon
/* */
esSandbox sandbox.SandboxBase
}

View File

@ -28,7 +28,16 @@
package genmai
type ExplorerWeb struct {
import (
// TODO:
// 应该写成相对路径因为genmai应该是编译成库所以包路径不
// 是以main开头。
//
// go 有点拉
sandbox "main/src/genmai/Sandbox"
)
type ConfigWeb struct {
FormatVer int
Id string
Belong string
@ -37,3 +46,10 @@ type ExplorerWeb struct {
SiteInfo SiteInfo
SiteRequests SiteRequests
}
type ExplorerWeb struct {
ExplorerCommon
/* */
esSandbox sandbox.SandboxBase
}