From 5aa8652417d7a534b3778be6fa50d3cb6470b72d Mon Sep 17 00:00:00 2001 From: Peleus <245629560@qq.com> Date: Thu, 4 Jan 2024 01:15:25 +0800 Subject: [PATCH] Add comments --- tag.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tag.go b/tag.go index 2f13de7f..75cda574 100644 --- a/tag.go +++ b/tag.go @@ -19,6 +19,8 @@ var ( return fmt.Errorf("invalid carbon tag in %s field, please make sure the tag is valid", field) } + // supported types + // 支持的类型 tagTypes = map[string]string{ "dateTime": "layout:" + DateTimeLayout, "dateTimeMilli": "layout:" + DateTimeMilliLayout,