We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ stonks AMD panic: interface conversion: interface {} is int, not graph.ChartTheme
goroutine 1 [running]: main.main.func1(0xc0000eeb00, 0xc0000ad530, 0x1, 0x1) /home/jc/Documents/finance/stonks/main.go:106 +0x1606 github.com/spf13/cobra.(*Command).execute(0xc0000eeb00, 0xc0000ba030, 0x1, 0x1, 0xc0000eeb00, 0xc0000ba030) /home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x29d github.com/spf13/cobra.(*Command).ExecuteC(0xc0000eeb00, 0xc0000c4bc8, 0x910edb, 0x7) /home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x349 github.com/spf13/cobra.(*Command).Execute(...) /home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887 main.main() /home/jc/Documents/finance/stonks/main.go:192 +0x605
OS: linux mint 19.2 Stonks was installed using go version go1.14.3 linux/amd64
Steps to reproduce: $ stonks -s AMD $ stonks
The text was updated successfully, but these errors were encountered:
Thanks. I'll fix that asap.
Sorry, something went wrong.
This should do for main.go:106.
chartTheme := graph.ChartTheme(viper.GetInt("config.default_theme"))
8678340
Merge pull request #7 from Thomas007G/fix_chartTheme
e7fff35
fixed #6
No branches or pull requests
$ stonks AMD
panic: interface conversion: interface {} is int, not graph.ChartTheme
goroutine 1 [running]:
main.main.func1(0xc0000eeb00, 0xc0000ad530, 0x1, 0x1)
/home/jc/Documents/finance/stonks/main.go:106 +0x1606
github.com/spf13/cobra.(*Command).execute(0xc0000eeb00, 0xc0000ba030, 0x1, 0x1, 0xc0000eeb00, 0xc0000ba030)
/home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x29d
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000eeb00, 0xc0000c4bc8, 0x910edb, 0x7)
/home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x349
github.com/spf13/cobra.(*Command).Execute(...)
/home/jc/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main()
/home/jc/Documents/finance/stonks/main.go:192 +0x605
OS: linux mint 19.2
Stonks was installed using go version go1.14.3 linux/amd64
Steps to reproduce:
$ stonks -s AMD
$ stonks
The text was updated successfully, but these errors were encountered: