Adding a module dependency
suggest changeFrom a directory containing go.mod, add a dependency with:
go get github.com/gomarkdown/markdown@latest
This updates go.mod and go.sum. The source is downloaded into Go's module cache when needed. You can also add an import to your code and run go mod tidy, which adds required modules and removes unused requirements.
Use an explicit version instead of @latest when the project needs a fixed release.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents