Lab 9
Isabella Liu
Posted on December 7, 2020
For this lab, we are going to find a platform to release our package. I choose pkg.go.dev
for my Go program https://github.com/isabellaliu77/urlChecker. But the release process was terrible.
Created the release on GitHub is pretty easy, I added a tag and created the release following the instruction. https://github.com/isabellaliu77/urlChecker/releases/tag/v1.0.1
I checked the documentation for the release. However, I don't quite understand it. I knew every word but didn't know what it meant. I asked my classmate for help, and finally, understood the meaning. This is the link I need to use
https://pkg.go.dev/github.com/isabellaliu77/urlChecker
Problems
The old go doc website can find my package.
But when I visit the new website pkg.go.dev
, nothing is there. I refresh it lots of times. But it didn't help.
After several days, I realize that for some reason, my package name on my go.mod
file is not following the standard.
I changed the module name, then waited for about an hour. Finally, the problem was solved.
This is the package. https://pkg.go.dev/github.com/isabellaliu77/urlChecker
Posted on December 7, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
November 29, 2024