Submitted almost 4 years ago
* Added a gemfile to Pegacorn Project and instructions on how to use it in the readme
* Started adding dependency management to Poncho app
* Started on detailed readme for Poncho app
I started working on the Poncho app's documentation today and realized that I hadn't added any information about dependencies to the readme for the Pegacorn Project. Then I spent quite a while researching tools for dependency management in Golang. I landed on dep, but had trouble finding information about how someone cloning my repo from Github would install the dependencies outlined in my project's
Gopkg.toml file. I ended up asking in a Golang Slack channel I'm a member of and got confirmation of the answer I suspected (end user would need to have
dep installed and then run the
dep ensure command).
I started work on installing dep, but ran into a couple of issues: 1. I got an error message that my project wasn't in my gopath, even though it was. I fixed this by moving my project to the
src directory in my Gopath. 2. When attempting to use the
dep ensure -add command to add dependencies to my
Gopkg.toml file, I got the error message "all dirs contained build errors." This error persisted even when trying to install one dependency at a time with the command. I'll have to look more into this.
Here are today's commits: