Skip to content

Commit 06f8aaf

Browse files
authored
Update default_field.go (#255)
1 parent 2b58f9a commit 06f8aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

field/default_field.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (df *DefaultField) DefaultCreateAt() {
4646
}
4747
}
4848

49-
// DefaultCreateAt changes the default _id field
49+
// DefaultId changes the default _id field
5050
func (df *DefaultField) DefaultId() {
5151
if df.Id.IsZero() {
5252
df.Id = primitive.NewObjectID()

0 commit comments

Comments
 (0)