You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in v2.3.9+ ,DiffAbsInDuration used Duration.Abs(),but this func must in go version 1.9+,see api: audit for Go 1.19 and time: add Duration.Abs
if my go version is below 1.9, it will not compile successfully. report github.com/golang-module/carbon/v2@v2.3.10/difference.go:212:40](http://github.com/golang-module/carbon/v2@v2.3.10/difference.go:212:40): end.StdTime().Sub(c.StdTime()).Abs undefined (type time.Duration has no field or method Abs)
Do you need to update the documentation to explain that you need to use go 1.9+ after version 2.3.9+?
The text was updated successfully, but these errors were encountered:
xu9374
added
the
Question
Indicates that an issue, pull request, or discussion needs more information
label
Mar 6, 2024
in v2.3.9+ ,
DiffAbsInDuration
usedDuration.Abs()
,but this func must in go version 1.9+,see api: audit for Go 1.19 and time: add Duration.Absif my go version is below 1.9, it will not compile successfully. report
github.com/golang-module/carbon/v2@v2.3.10/difference.go:212:40](http://github.com/golang-module/carbon/v2@v2.3.10/difference.go:212:40): end.StdTime().Sub(c.StdTime()).Abs undefined (type time.Duration has no field or method Abs)
Do you need to update the documentation to explain that you need to use go 1.9+ after version 2.3.9+?
The text was updated successfully, but these errors were encountered: