├── .gitignore ├── .travis.yml ├── Gopkg.lock ├── Gopkg.toml ├── LICENSE ├── README.md ├── go.mod ├── go_above_118.go ├── go_above_19.go ├── go_below_118.go ├── reflect2.go ├── reflect2_amd64.s ├── reflect2_kind.go ├── relfect2_386.s ├── relfect2_amd64p32.s ├── relfect2_arm.s ├── relfect2_arm64.s ├── relfect2_mips64x.s ├── relfect2_mipsx.s ├── relfect2_ppc64x.s ├── relfect2_s390x.s ├── safe_field.go ├── safe_map.go ├── safe_slice.go ├── safe_struct.go ├── safe_type.go ├── type_map.go ├── unsafe_array.go ├── unsafe_eface.go ├── unsafe_field.go ├── unsafe_iface.go ├── unsafe_link.go ├── unsafe_map.go ├── unsafe_ptr.go ├── unsafe_slice.go ├── unsafe_struct.go └── unsafe_type.go /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gopkg.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/Gopkg.lock -------------------------------------------------------------------------------- /Gopkg.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/Gopkg.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/modern-go/reflect2 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /go_above_118.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/go_above_118.go -------------------------------------------------------------------------------- /go_above_19.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/go_above_19.go -------------------------------------------------------------------------------- /go_below_118.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/go_below_118.go -------------------------------------------------------------------------------- /reflect2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/reflect2.go -------------------------------------------------------------------------------- /reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /reflect2_kind.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/reflect2_kind.go -------------------------------------------------------------------------------- /relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /safe_field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/safe_field.go -------------------------------------------------------------------------------- /safe_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/safe_map.go -------------------------------------------------------------------------------- /safe_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/safe_slice.go -------------------------------------------------------------------------------- /safe_struct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/safe_struct.go -------------------------------------------------------------------------------- /safe_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/safe_type.go -------------------------------------------------------------------------------- /type_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/type_map.go -------------------------------------------------------------------------------- /unsafe_array.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_array.go -------------------------------------------------------------------------------- /unsafe_eface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_eface.go -------------------------------------------------------------------------------- /unsafe_field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_field.go -------------------------------------------------------------------------------- /unsafe_iface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_iface.go -------------------------------------------------------------------------------- /unsafe_link.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_link.go -------------------------------------------------------------------------------- /unsafe_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_map.go -------------------------------------------------------------------------------- /unsafe_ptr.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_ptr.go -------------------------------------------------------------------------------- /unsafe_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_slice.go -------------------------------------------------------------------------------- /unsafe_struct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_struct.go -------------------------------------------------------------------------------- /unsafe_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/modern-go/reflect2/HEAD/unsafe_type.go --------------------------------------------------------------------------------