@@ -977,29 +977,29 @@ type SuggestCommandFunc func(commands []*Command, provided string) string
977977
978978type SuggestFlagFunc func(flags []Flag, provided string, hideHelp bool) string
979979
980- type TextFlag = FlagBase[TextMarshalUnMarshaller , StringConfig, TextValue]
981- TextFlag enables you to set types that satisfies TextMarshalUnMarshaller
980+ type TextFlag = FlagBase[TextMarshalUnmarshaler , StringConfig, TextValue]
981+ TextFlag enables you to set types that satisfies TextMarshalUnmarshaler
982982 using flags such as log levels.
983983
984- type TextMarshalUnMarshaller interface {
984+ type TextMarshalUnmarshaler interface {
985985 encoding.TextMarshaler
986986 encoding.TextUnmarshaler
987987}
988988
989989type TextValue struct {
990- Value TextMarshalUnMarshaller
990+ Value *TextMarshalUnmarshaler
991991 Config StringConfig
992992}
993993
994- func (v TextValue) Create(t TextMarshalUnMarshaller, _ *TextMarshalUnMarshaller , c StringConfig) Value
994+ func (f TextValue) Create(v TextMarshalUnmarshaler, p *TextMarshalUnmarshaler , c StringConfig) Value
995995
996- func (v TextValue) Get() any
996+ func (f TextValue) Get() any
997997
998- func (v TextValue) Set(s string) error
998+ func (f TextValue) Set(s string) error
999999
1000- func (v TextValue) String() string
1000+ func (f TextValue) String() string
10011001
1002- func (v TextValue) ToString(t TextMarshalUnMarshaller ) string
1002+ func (f TextValue) ToString(v TextMarshalUnmarshaler ) string
10031003
10041004type TimestampArg = ArgumentBase[time.Time, TimestampConfig, timestampValue]
10051005
0 commit comments