Skip to content

v0.1.0

Choose a tag to compare

@jakewilliami jakewilliami released this 06 Nov 07:06
· 40 commits to master since this release

Initial release of library! v0.1.0

In moving the library to the root of the project, I made it importable externally, and hence I am marking this as the first release.

Initially, as per Go project organisation guidelines, I kept the library code in a pkg/ directory:

.
├── go.mod
├── go.sum
└── pkg
   └── tldinfo
      ├── tldinfo.go
      └── tldconsts.go

However, I realised that this organisation is non-standard. Based on the official Go documentation on module structure I refactored:

.
├── go.mod
├── go.sum
├── tldinfo.go
└── internal
   └── tldinfo
      └── tldconsts.go

Now this is more standard, but also allows the user to import the project as normal; e.g.

go get github.com/jakewilliami/tldinfo

As this is now fully importable, and the library and CLI (for all intents and purposes) work mostly as needed, I consider this the first proper release.

Full Changelog: v0.0.4...v0.1.0