This repository was archived by the owner on Jun 19, 2024. It is now read-only.
Tags: totvs-cloud/pflagstruct
Tags
Enable the use of nullable struct references (#4) * Add PointerGetterCall struct for getting pointer values in GetterMethod * Fix the check statement * Return a new instance of the struct if is nil * Consider pointer fields * Use logical AND instead of OR in PointerGetterCall function
Add support for map types (#3) * Add support for map types * Add MapGetterMethod to retrieve a map of filters from command flags * Preserves key insertion order in the map * Add support for FieldKindStringMap in flags.go * Refactor the structReferences and fieldReferences methods for more predictable iteration order