mirror of https://github.com/golang/go.git
flag: replace interface{} -> any for textValue.Get method
Make it literally match the Getter interface.
This commit is contained in:
parent
011da163f4
commit
398b90b2fb
|
|
@ -318,7 +318,7 @@ func (v textValue) Set(s string) error {
|
|||
return v.p.UnmarshalText([]byte(s))
|
||||
}
|
||||
|
||||
func (v textValue) Get() interface{} {
|
||||
func (v textValue) Get() any {
|
||||
return v.p
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue