From d9552c8a065255ea178c898f769b212a23f5e42b Mon Sep 17 00:00:00 2001 From: Tobias Dahlberg Date: Wed, 12 Feb 2025 23:53:47 +0100 Subject: [PATCH] fix: adjust docs to reflect changes --- godoc-current.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/godoc-current.txt b/godoc-current.txt index b0ce5f3a7f..7fe6d3b774 100644 --- a/godoc-current.txt +++ b/godoc-current.txt @@ -981,7 +981,7 @@ type TextFlag = FlagBase[TextMarshalUnmarshaler, StringConfig, TextValue] TextFlag enables you to set types that satisfies TextMarshalUnmarshaler using flags such as log levels. -type TextMarshalUnMarshaller interface { +type TextMarshalUnMarshaler interface { encoding.TextMarshaler encoding.TextUnmarshaler } @@ -991,15 +991,15 @@ type TextValue struct { Config StringConfig } -func (v TextValue) Create(t TextMarshalUnmarshaler, p *TextMarshalUnmarshaler, c StringConfig) Value +func (f TextValue) Create(t TextMarshalUnmarshaler, p *TextMarshalUnmarshaler, c StringConfig) Value -func (v TextValue) Get() any +func (f TextValue) Get() any -func (v TextValue) Set(s string) error +func (f TextValue) Set(s string) error -func (v TextValue) String() string +func (f TextValue) String() string -func (v TextValue) ToString(t TextMarshalUnmarshaler) string +func (f TextValue) ToString(t TextMarshalUnmarshaler) string type TimestampArg = ArgumentBase[time.Time, TimestampConfig, timestampValue]