5d6b8141ec
Replace deprecated ioutil
...
As of Go 1.16, the same functionality is now provided by package io or
package os, and those implementations should be preferred in new code.
2022-11-07 11:41:47 +00:00
fdd2f8e6d2
Error strings should not be capitalized
...
Reported by staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-23 23:26:02 +02:00
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
24de896df2
build: apply gofmt from golang 1.17
2021-09-09 20:43:59 +03:00
2cefae51a1
build: make go1.14 the minimum supported Go for building
2021-08-20 19:04:29 +01:00
3b1122c888
azureblob: require go1.14+ to compile due to SDK changes
2021-01-30 18:01:12 +00:00
08b9ede217
azureblob: add support for managed identities
...
Fixes #3213
2020-12-28 13:23:35 +00:00