// Code generated by cast generator. DO NOT EDIT.package castimport// ToBool casts any value to a(n) bool type.func ( any) bool { , := ToBoolE()return}// ToString casts any value to a(n) string type.func ( any) string { , := ToStringE()return}// ToTime casts any value to a(n) time.Time type.func ( any) time.Time { , := ToTimeE()return}// ToTimeInDefaultLocation casts any value to a(n) time.Time type.func ( any, *time.Location) time.Time { , := ToTimeInDefaultLocationE(, )return}// ToDuration casts any value to a(n) time.Duration type.func ( any) time.Duration { , := ToDurationE()return}// ToInt casts any value to a(n) int type.func ( any) int { , := ToIntE()return}// ToInt8 casts any value to a(n) int8 type.func ( any) int8 { , := ToInt8E()return}// ToInt16 casts any value to a(n) int16 type.func ( any) int16 { , := ToInt16E()return}// ToInt32 casts any value to a(n) int32 type.func ( any) int32 { , := ToInt32E()return}// ToInt64 casts any value to a(n) int64 type.func ( any) int64 { , := ToInt64E()return}// ToUint casts any value to a(n) uint type.func ( any) uint { , := ToUintE()return}// ToUint8 casts any value to a(n) uint8 type.func ( any) uint8 { , := ToUint8E()return}// ToUint16 casts any value to a(n) uint16 type.func ( any) uint16 { , := ToUint16E()return}// ToUint32 casts any value to a(n) uint32 type.func ( any) uint32 { , := ToUint32E()return}// ToUint64 casts any value to a(n) uint64 type.func ( any) uint64 { , := ToUint64E()return}// ToFloat32 casts any value to a(n) float32 type.func ( any) float32 { , := ToFloat32E()return}// ToFloat64 casts any value to a(n) float64 type.func ( any) float64 { , := ToFloat64E()return}// ToStringMapString casts any value to a(n) map[string]string type.func ( any) map[string]string { , := ToStringMapStringE()return}// ToStringMapStringSlice casts any value to a(n) map[string][]string type.func ( any) map[string][]string { , := ToStringMapStringSliceE()return}// ToStringMapBool casts any value to a(n) map[string]bool type.func ( any) map[string]bool { , := ToStringMapBoolE()return}// ToStringMapInt casts any value to a(n) map[string]int type.func ( any) map[string]int { , := ToStringMapIntE()return}// ToStringMapInt64 casts any value to a(n) map[string]int64 type.func ( any) map[string]int64 { , := ToStringMapInt64E()return}// ToStringMap casts any value to a(n) map[string]any type.func ( any) map[string]any { , := ToStringMapE()return}// ToSlice casts any value to a(n) []any type.func ( any) []any { , := ToSliceE()return}// ToBoolSlice casts any value to a(n) []bool type.func ( any) []bool { , := ToBoolSliceE()return}// ToStringSlice casts any value to a(n) []string type.func ( any) []string { , := ToStringSliceE()return}// ToIntSlice casts any value to a(n) []int type.func ( any) []int { , := ToIntSliceE()return}// ToInt64Slice casts any value to a(n) []int64 type.func ( any) []int64 { , := ToInt64SliceE()return}// ToUintSlice casts any value to a(n) []uint type.func ( any) []uint { , := ToUintSliceE()return}// ToFloat64Slice casts any value to a(n) []float64 type.func ( any) []float64 { , := ToFloat64SliceE()return}// ToDurationSlice casts any value to a(n) []time.Duration type.func ( any) []time.Duration { , := ToDurationSliceE()return}// ToBoolSliceE casts any value to a(n) []bool type.func ( any) ([]bool, error) {returntoSliceE[bool]()}// ToDurationSliceE casts any value to a(n) []time.Duration type.func ( any) ([]time.Duration, error) {returntoSliceE[time.Duration]()}// ToIntSliceE casts any value to a(n) []int type.func ( any) ([]int, error) {returntoSliceE[int]()}// ToInt8SliceE casts any value to a(n) []int8 type.func ( any) ([]int8, error) {returntoSliceE[int8]()}// ToInt16SliceE casts any value to a(n) []int16 type.func ( any) ([]int16, error) {returntoSliceE[int16]()}// ToInt32SliceE casts any value to a(n) []int32 type.func ( any) ([]int32, error) {returntoSliceE[int32]()}// ToInt64SliceE casts any value to a(n) []int64 type.func ( any) ([]int64, error) {returntoSliceE[int64]()}// ToUintSliceE casts any value to a(n) []uint type.func ( any) ([]uint, error) {returntoSliceE[uint]()}// ToUint8SliceE casts any value to a(n) []uint8 type.func ( any) ([]uint8, error) {returntoSliceE[uint8]()}// ToUint16SliceE casts any value to a(n) []uint16 type.func ( any) ([]uint16, error) {returntoSliceE[uint16]()}// ToUint32SliceE casts any value to a(n) []uint32 type.func ( any) ([]uint32, error) {returntoSliceE[uint32]()}// ToUint64SliceE casts any value to a(n) []uint64 type.func ( any) ([]uint64, error) {returntoSliceE[uint64]()}// ToFloat32SliceE casts any value to a(n) []float32 type.func ( any) ([]float32, error) {returntoSliceE[float32]()}// ToFloat64SliceE casts any value to a(n) []float64 type.func ( any) ([]float64, error) {returntoSliceE[float64]()}
The pages are generated with Goldsv0.8.7. (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.