Documentation ¶
Index ¶
- Constants
- func GetAllSchemaItemRootNodes() []string
- func GetAllSchemaItems() []string
- func GetCompilationCaution(withTag bool) []byte
- func GetSchemaFileContent(filePath string) ([]byte, error)
- func IsSchemaFile(filename string) bool
- func ParseItemPlaceholders(filePath string) (items []string, err error)
- func ParseItems(filePath string) (items []string, err error)
- func SchemaFileMd5(filePath string) (string, error)
- type SchemaFile
Constants ¶
View Source
const SCHEMAFILE_SUFFIX = ".schema.php"
View Source
const TOML_SUFFIX = ".schema.toml"
Variables ¶
This section is empty.
Functions ¶
func GetAllSchemaItemRootNodes ¶
func GetAllSchemaItemRootNodes() []string
func GetAllSchemaItems ¶
func GetAllSchemaItems() []string
func GetCompilationCaution ¶
func GetSchemaFileContent ¶
func IsSchemaFile ¶
func ParseItemPlaceholders ¶
func ParseItems ¶
获取 filePath的定义的不重复的配置项
func SchemaFileMd5 ¶
Types ¶
type SchemaFile ¶
func GetSchemaFilesByDir ¶
func GetSchemaFilesByDir(dir string) []SchemaFile
func LoadSchemaFiles ¶
func LoadSchemaFiles() []SchemaFile
Click to show internal directories.
Click to hide internal directories.