dustinkirkland / golang-petname

Apache License 2.0
213 stars 38 forks source link

Consider allow older versions of Go #18

Closed stgraber closed 1 year ago

stgraber commented 1 year ago

For Incus (ex-LXD), we like supporting the past two major Go versions, that is, 1.20 and 1.21 currently.

Your recent change to introduce a go.mod came with you setting a minimal version of go 1.21.1 which is therefore breaking us.

I don't see any reason for petname to require 1.21.1, so you should be able to just go mod tidy --go=1.20 to set the base version to 1.20.

dustinkirkland commented 1 year ago

Sure thing, no problem! Fixed.