This gist provides an example of how to version a library written in Go which uses Go modules for its dependency management. Included in this example are two applications - one that uses Go modules, and one that uses "dep" for dependency management.
I recently migrated an existing Go-based library from using "dep" to using Go modules for its dependency management. At the time I did the migration, the library was at version 1.0.0, and I delivered the "module-aware" version as v1.0.1.