AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 351 forks source link

style(README): Ensure first example in README.md imports from a path that works #248

Closed ghost closed 4 years ago

ghost commented 4 years ago

Fix version typo in main readme example

AlecAivazis commented 4 years ago

Thanks for the contribution. This import is in fact not an error is because of the way go handles versioning modules. You should see a consistent path everywhere in the project

ghost commented 4 years ago

Ah thanks. Reviewed go module documentation, set up dir outside of GOPATH, init'ed my own go.mod file, and added explicit require statement within go.mod to get things working correctly.