Feature/generic type (#19)

Supports generics and any
This commit is contained in:
jeffery
2023-04-07 19:21:05 +08:00
committed by GitHub
parent ce429aed1f
commit 9a8c60b30a
51 changed files with 348 additions and 1127 deletions

View File

@@ -12,7 +12,7 @@ import (
func TestAnyToFloat32(t *testing.T) {
tests := []struct {
input interface{}
input any
want float32
err error
}{
@@ -55,7 +55,7 @@ func TestAnyToFloat64(t *testing.T) {
iPtr := 90
tests := []struct {
input interface{}
input any
want float64
err error
}{