Documentation ¶ Index ¶ func GetField(obj any, name string) any func SetField(obj any, name string, value any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetField ¶ func GetField(obj any, name string) any GetField returns the value of the provided obj field. obj can whether be a structure or pointer to structure. func SetField ¶ func SetField(obj any, name string, value any) SetField sets the provided obj field with provided value. obj param has to be a pointer to a struct, otherwise it will soundly fail. Provided value type should match with the struct field you're trying to set. Types ¶ This section is empty. Source Files ¶ View all Source files fields.go Click to show internal directories. Click to hide internal directories.