Closed Lokicity closed 7 years ago
I got an email and somebody tried to modify the cli code and ran into this compiler err
photon/command/auth.go:94: cannot refer to unexported name cli.context photon/command/auth.go:94: undefined: cli.context
The answer is that golang is case sensitive and you should use cli.Context instead of cli.context on line 94
Thanks a lot for helping me.
I got an email and somebody tried to modify the cli code and ran into this compiler err
photon/command/auth.go:94: cannot refer to unexported name cli.context photon/command/auth.go:94: undefined: cli.context
The answer is that golang is case sensitive and you should use cli.Context instead of cli.context on line 94