kahing / goofys

a high-performance, POSIX-ish Amazon S3 file system written in Go
Apache License 2.0
5.21k stars 522 forks source link

Update Readme needed. Go older than 1.15 or newer than 1.16 does not work with installation #696

Open rezuma opened 2 years ago

rezuma commented 2 years ago

The code and installation instructions does not support any other version than Go 1.16 I try with Go 1.13 and get

github.com/golang-jwt/jwt

go/src/github.com/golang-jwt/jwt/ecdsa.go:135:4: r.FillBytes undefined (type big.Int has no field or method FillBytes) go/src/github.com/golang-jwt/jwt/ecdsa.go:136:4: s.FillBytes undefined (type big.Int has no field or method FillBytes)

Fillbytes support started in go 1.15

G 1.17 deprecated go get so instead you have to use go install github.com/kahing/goofys@latest

After I tried installing it with Go 1.18 then i get this already reported error

github.com/kahing/goofys/api/common

work/pkg/mod/github.com/kahing/goofys@v0.24.0/api/common/conf_azure.go:272:35: accountsRes.Value undefined (type storage.AccountListResultPage has no field or method Value) work/pkg/mod/github.com/kahing/goofys@v0.24.0/api/common/conf_azure.go:373:67: not enough arguments in call to client.ListKeys have (context.Context, string, string) want (context.Context, string, string, storage.ListKeyExpand)

dannycjones commented 2 years ago

We should update this line with the minimum Go version supported.

https://github.com/kahing/goofys/blob/master/go.mod#L3