Skip to content

Commit

Permalink
refactor: keep meta data into datMeta
Browse files Browse the repository at this point in the history
  • Loading branch information
hui.wang committed Jan 5, 2022
1 parent fba98a0 commit ce0a74d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions meta.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
package xconf

const (
MetaKeyFiles = "xconf_files"
MetaKeyGrayLabel = "xconf_gray_rule_label"
MetaKeyInheritFiles = "xconf_inherit_files"
MetaKeyLatestHash = "xconf_latest_hash"
MetaKeyFiles = "xconf_files"
MetaKeyGrayLabel = "xconf_gray_rule_label"
MetaKeyInheritFiles = "xconf_inherit_files"
MetaKeyLatestHash = "xconf_latest_hash"
MetaKeyInheritFilesDeprecatedFromGoconf = "inherit_files"
)

const (
HashPrefix = "xconf@"
DefaultInvalidHashString = HashPrefix + "hash_invalid"
)

const MetaKeyInheritFilesDeprecatedFromGoconf = "inherit_files"

var MetaKeyList = []string{
MetaKeyInheritFilesDeprecatedFromGoconf,
MetaKeyInheritFiles,
Expand Down

0 comments on commit ce0a74d

Please sign in to comment.