 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func GetFieldValueAsString(structToGetValueFrom any, fieldName string) (string, error)
- func GetFieldValuesAsString(structToGetFieldsFrom any) (values []string, err error)
- func HasField(structToTest any, fieldName string) (bool, error)
- func IsPointerToStruct(objectToTest interface{}) (isStruct bool)
- func IsStruct(objectToTest interface{}) (isStruct bool)
- func IsStructOrPointerToStruct(objectToTest interface{}) (isStruct bool)
- func ListFieldNames(structToList any) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrStructHasNoField = errors.New("struct has no matching field")
    Functions ¶
func GetFieldValueAsString ¶ added in v0.461.0
func GetFieldValuesAsString ¶
func IsPointerToStruct ¶
func IsPointerToStruct(objectToTest interface{}) (isStruct bool)
    func IsStructOrPointerToStruct ¶
func IsStructOrPointerToStruct(objectToTest interface{}) (isStruct bool)
    func ListFieldNames ¶ added in v0.461.0
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.