zquestz / s

Open a web search in your terminal.
MIT License
2.34k stars 114 forks source link

Compiling is failing #151

Closed ksaver closed 3 years ago

ksaver commented 3 years ago

Compiling is failing due to a cobra error (github.com/spf13/cobra): make
go build .

github.com/spf13/cobra

../../spf13/cobra/bash_completions.go:22:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:383:26: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:425:24: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:437:27: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:475:25: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:486:20: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:501:38: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:527:21: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:564:28: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:589:29: undefined: io.StringWriter ../../spf13/cobra/bash_completions.go:589:29: too many errors make: *** [Makefile:9: all] Error 2

ksaver commented 3 years ago

I'm sorry, it was due to an old version of Go.