#144HoursOfCode D32
Submitted almost 4 years ago
(7:40-10:20pm)
Progress
* 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
Thoughts
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.
Commits
Here are today's commits:
* https://github.com/twoesplease/pegacorn_project/commit/8f480ccbac6bb1f0b76690d35402447c826f4096
* https://github.com/twoesplease/pegacorn_project/commit/9a24bca67239067397ca7fbe8de28c9d74eac32f
* https://github.com/twoesplease/pegacorn_project/commit/eafb509aae3d7931559bd7270f50fda9ac53cf47
0 Comments
Add a comment: