peterbourgon / diskv

A disk-backed key-value store.
http://godoc.org/github.com/peterbourgon/diskv
MIT License
1.41k stars 102 forks source link

add mod file and bump major version #53

Closed urandom2 closed 5 years ago

urandom2 commented 5 years ago
peterbourgon commented 5 years ago

Does the lack of a go.mod cause concrete problems in downstream dependencies?

urandom2 commented 5 years ago

While there is currently no breakage from the lack of a go.mod file, not having indirect dependencies tracked means that consumers have to track them directly:

module github.com/user/repo

go 1.12

require (
        github.com/google/btree v1.0.0 // indirect
        github.com/peterbourgon/diskv v2.0.1+incompatible
)
metalmatze commented 5 years ago

I'd appreciate having the mod file. Thanks.