Browse Source

mention TypeByName

Tao Wen 8 years ago
parent
commit
e5182c8532
1 changed files with 1 additions and 0 deletions
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -11,6 +11,7 @@ reflect api that avoids runtime reflect.Value cost
 
 
 * reflect get/set interface{}, with type checking
 * reflect get/set interface{}, with type checking
 * reflect get/set unsafe.Pointer, without type checking
 * reflect get/set unsafe.Pointer, without type checking
+* `reflect2.TypeByName` works like `Class.forName` found in java
 
 
 [json-iterator](https://github.com/json-iterator/go) use this package to save runtime dispatching cost.
 [json-iterator](https://github.com/json-iterator/go) use this package to save runtime dispatching cost.
 This package is designed for low level libraries to optimize reflection performance.
 This package is designed for low level libraries to optimize reflection performance.