From 6f850372c88ced6bf40fde706e4a5dbd0854aca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 11 Aug 2023 11:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=87=E4=BB=B6=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=B8=B8=E9=87=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file_type.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 file_type.go diff --git a/file_type.go b/file_type.go new file mode 100644 index 0000000..3ae5231 --- /dev/null +++ b/file_type.go @@ -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" +)