增加文件类型常量定义

This commit is contained in:
白茶清欢 2023-08-11 11:03:00 +08:00
parent f44b38ccf2
commit 6f850372c8
1 changed files with 25 additions and 0 deletions

25
file_type.go Normal file
View File

@ -0,0 +1,25 @@
// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-08-11 10:59
package consts
const (
// FileTypeJson json格式文件
FileTypeJson = "json"
// FileTypeIni ini格式文件
FileTypeIni = "ini"
// FileTypeYml yml 格式文件
FileTypeYml = "yml"
// FileTypeYaml yaml格式文件
FileTypeYaml = "yaml"
// FileTypeToml toml格式文件
FileTypeToml = "toml"
// FileTypeTxt txt格式文件
FileTypeTxt = "txt"
// FileTypeUnknown 文职格式文件
FileTypeUnknown = "unknown"
)