github.com/goplusjs/reflectx@v0.5.4/README.md (about)

     1  # reflectx
     2  Golang reflect package hack tools
     3  
     4  [![Go1.14](https://github.com/goplus/reflectx/workflows/Go1.14/badge.svg)](https://github.com/goplus/reflectx/actions?query=workflow%3AGo1.14)
     5  [![Go1.15](https://github.com/goplus/reflectx/workflows/Go1.15/badge.svg)](https://github.com/goplus/reflectx/actions?query=workflow%3AGo1.15)
     6  [![Go1.16](https://github.com/goplus/reflectx/workflows/Go1.16/badge.svg)](https://github.com/goplus/reflectx/actions?query=workflow%3AGo1.16)
     7  
     8  **Go1.17**
     9  
    10  set env
    11  
    12  `GOEXPERIMENT=noregabi`
    13  
    14  
    15  ### Field
    16  * reflectx.CanSet
    17  * reflectx.Field
    18  * reflectx.FieldByIndex
    19  * reflectx.FieldByName
    20  * reflectx.FieldByNameFunc
    21  
    22  ### Named
    23  * reflectx.StructOf(fs)
    24  * reflectx.NamedTypeOf
    25  * reflectx.IsNamed
    26  * reflectx.ToNamed
    27  
    28  ### Method
    29  * reflectx.Method
    30  * reflectx.MakeMethod
    31  
    32  * reflectx.NewMethodSet
    33  * reflectx.SetMethodSet
    34  
    35  * reflectx.StructToMethodSet
    36  
    37  ### Interface
    38  * reflectx.InterfaceOf
    39  * reflectx.NamedInterfaceOf
    40  * reflectx.NewInterfaceType
    41  * reflectx.SetInterfaceType
    42  
    43  ### SetElem
    44  * reflectx.SetElem