|
@@ -1,2 +1,15 @@
|
|
|
# reflect2
|
|
# reflect2
|
|
|
|
|
+
|
|
|
|
|
+[](https://sourcegraph.com/github.com/modern-go/reflect2?badge)
|
|
|
|
|
+[](http://godoc.org/github.com/modern-go/reflect2)
|
|
|
|
|
+[](https://travis-ci.org/modern-go/reflect2)
|
|
|
|
|
+[](https://codecov.io/gh/modern-go/reflect2)
|
|
|
|
|
+[](https://goreportcard.com/report/github.com/modern-go/reflect2)
|
|
|
|
|
+[](https://raw.githubusercontent.com/modern-go/reflect2/master/LICENSE)
|
|
|
|
|
+
|
|
|
reflect api that avoids runtime reflect.Value cost
|
|
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](https://github.com/json-iterator/go) use this package to save runtime dispatching cost.
|