No Description

Tao Wen 1cef955fc2 add ci and badge 7 years ago
test15 3fc4794c80 import from plz 7 years ago
tests b3b30f3fbe fix all tests 7 years ago
.gitignore b3b30f3fbe fix all tests 7 years ago
.travis.yml 1cef955fc2 add ci and badge 7 years ago
Gopkg.lock 1df9eeb2bb add dependency declaration 7 years ago
Gopkg.toml 1df9eeb2bb add dependency declaration 7 years ago
LICENSE 04bfe0d094 Initial commit 7 years ago
README.md 1cef955fc2 add ci and badge 7 years ago
go_above_17.go 3fc4794c80 import from plz 7 years ago
go_above_19.go 3fc4794c80 import from plz 7 years ago
go_below_17.go 3fc4794c80 import from plz 7 years ago
go_below_19.go 3fc4794c80 import from plz 7 years ago
reflect2.go c8eaf46a97 remove reference to v2pro 7 years ago
reflect2_amd64.s 3fc4794c80 import from plz 7 years ago
reflect2_kind.go 3fc4794c80 import from plz 7 years ago
relfect2_386.s 3fc4794c80 import from plz 7 years ago
relfect2_amd64p32.s 3fc4794c80 import from plz 7 years ago
relfect2_arm.s 3fc4794c80 import from plz 7 years ago
relfect2_arm64.s 3fc4794c80 import from plz 7 years ago
relfect2_mips64x.s 3fc4794c80 import from plz 7 years ago
relfect2_mipsx.s 3fc4794c80 import from plz 7 years ago
relfect2_ppc64x.s 3fc4794c80 import from plz 7 years ago
relfect2_s390x.s 3fc4794c80 import from plz 7 years ago
safe_field.go 3fc4794c80 import from plz 7 years ago
safe_map.go 3fc4794c80 import from plz 7 years ago
safe_slice.go 3fc4794c80 import from plz 7 years ago
safe_struct.go b3b30f3fbe fix all tests 7 years ago
safe_type.go 3fc4794c80 import from plz 7 years ago
test.sh b3b30f3fbe fix all tests 7 years ago
type_map.go 3fc4794c80 import from plz 7 years ago
unsafe_array.go 3fc4794c80 import from plz 7 years ago
unsafe_eface.go 3fc4794c80 import from plz 7 years ago
unsafe_field.go 3fc4794c80 import from plz 7 years ago
unsafe_iface.go 3fc4794c80 import from plz 7 years ago
unsafe_link.go 3fc4794c80 import from plz 7 years ago
unsafe_map.go 3fc4794c80 import from plz 7 years ago
unsafe_ptr.go 3fc4794c80 import from plz 7 years ago
unsafe_slice.go 3fc4794c80 import from plz 7 years ago
unsafe_struct.go 3fc4794c80 import from plz 7 years ago
unsafe_type.go 3fc4794c80 import from plz 7 years ago

README.md

reflect2

Sourcegraph GoDoc Build Status codecov rcard License

reflect api that avoids runtime reflect.Value cost

  • reflect get/set interface{}, with type checking
  • reflect get/set unsafe.Pointer, without type checking

json-iterator use this package to save runtime dispatching cost.