configschema

package
v0.0.0-...-4972dd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

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 GetCompilationCaution(withTag bool) []byte

func GetSchemaFileContent

func GetSchemaFileContent(filePath string) ([]byte, error)

func IsSchemaFile

func IsSchemaFile(filename string) bool

func ParseItemPlaceholders

func ParseItemPlaceholders(filePath string) (items []string, err error)

func ParseItems

func ParseItems(filePath string) (items []string, err error)

获取 filePath的定义的不重复的配置项

func SchemaFileMd5

func SchemaFileMd5(filePath string) (string, error)

Types

type SchemaFile

type SchemaFile struct {
	Md5  string
	Path string
}

func GetSchemaFilesByDir

func GetSchemaFilesByDir(dir string) []SchemaFile

func LoadSchemaFiles

func LoadSchemaFiles() []SchemaFile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL