Update go.mod to require go 1.17

A recent optimization bumped go to 1.20 in go.mod but go 1.17 is still supported.

This commit is to reduce confusion about the minimum Go version supported by this CBOR library.

fxamacker/cbor v2.5.0 supports 1.12+.
fxamacker/cbor v2.6.0 will support 1.17+.
This commit is contained in:
Faye Amacker 2024-02-11 15:12:44 -06:00 committed by GitHub
parent d81df7aca4
commit 4778e468f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
go.mod
View File

@ -1,5 +1,5 @@
module github.com/fxamacker/cbor/v2
go 1.20
go 1.17 // Compiling with go 1.20+ uses new features and optimizations
require github.com/x448/float16 v0.8.4