cobra icon indicating copy to clipboard operation
cobra copied to clipboard

getting err about undefined: io.StringWriter

Open kyilmaz opened this issue 2 months ago • 1 comments

Hi, my go lang version is (go1.11.13 linux/amd64) When I issued ; $ go get -u github.com/spf13/cobra@latest

Errors occurred as like below;

github.com/spf13/cobra

../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:36:24: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:404:26: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:447:24: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:459:27: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:497:25: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:508:20: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:523:38: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:551:21: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:593:28: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:615:29: undefined: io.StringWriter ../../../../go/pkg/mod/github.com/spf13/[email protected]/bash_completions.go:615:29: too many errors

How can i resolve it?

Thanks.

kyilmaz avatar Nov 25 '24 14:11 kyilmaz