Value returns the mapping of values set by this flag
()
| 108 | |
| 109 | // Value returns the mapping of values set by this flag |
| 110 | func (i *MapBase[T, C, VC]) Value() map[string]T { |
| 111 | if i.dict == nil { |
| 112 | return map[string]T{} |
| 113 | } |
| 114 | return *i.dict |
| 115 | } |
| 116 | |
| 117 | // Get returns the mapping of values set by this flag |
| 118 | func (i *MapBase[T, C, VC]) Get() any { |