Source File
types.go
Belonging Package
github.com/gookit/goutil/mathutil
package mathutil// ToIntFunc convert value to inttype ToIntFunc func(any) (int, error)// ToInt64Func convert value to int64type ToInt64Func func(any) (int64, error)// ToUintFunc convert value to uinttype ToUintFunc func(any) (uint, error)// ToUint64Func convert value to uinttype ToUint64Func func(any) (uint64, error)// ToFloatFunc convert value to floattype ToFloatFunc func(any) (float64, error)// ToTypeFunc convert value to defined typetype ToTypeFunc[ any] func(any) (, error)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |