top | item 22271034

(no title)

achilleasa | 6 years ago

To be fair, I have included a section that extols the benefits of Go modules and hints that this is the way forward.

However, for the book source code, I opted to use dep to make sure it can be used by folks that use older Go compiler versions that lack support for Go modules. That being said, it should be trivial to convert the repo to use Go modules.

discuss

order

e12e|6 years ago

> folks that use older Go compiler versions

Why? (I don't mean that as snark; with the ease of installing and upgrading the go compiler compared to the olden days of acquiring a c compiler on a floppy disk - why not target the latest version? I[s] cgo trailing behind?)

achilleasa|6 years ago

I'd say it's more of a personal preference really. I have hit some issues trying to use Go modules in the past (although support for Go modules has admittedly improved vastly since the last time I used them) and dep has always worked consistently for me so it seemed like a better choice for the book.