Skip to content

Commit 4b96874

Browse files
committed
refactor: Remove DataType method of timestampType type and use the default data type
1 parent 23d0a38 commit 4b96874

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

type_builtin.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ func NewTimeNano(c *Carbon) *TimeNano {
7676

7777
type timestampType int64
7878

79-
func (t timestampType) DataType() string {
80-
return "timestamp"
81-
}
8279
func (t timestampType) Precision() string {
8380
return PrecisionSecond
8481
}

0 commit comments

Comments
 (0)