feat!: rework the public API to json/v2-style variadic options
Test / test (push) Successful in 1m49s
Test / test (push) Successful in 1m49s
Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -528,7 +528,7 @@ func setDuration(dst reflect.Value, s string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// setNumber stores a Number, the literal UseNumber keeps. A Number destination
|
||||
// setNumber stores a Number, the literal NumbersAsLiterals keeps. A Number destination
|
||||
// takes the literal as it is; every other destination takes the evaluated
|
||||
// value through the ordinary rules, so an integer field, a float field and a
|
||||
// duration field all read a Number the way they read the evaluated kind.
|
||||
|
||||
Reference in New Issue
Block a user