Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gouguoyin committed Jan 3, 2024
1 parent 9b5ed5c commit 5aa8652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5aa8652

Please sign in to comment.