Dimitri Papadopoulos
18ebca3979
lib: fix typos found by codespell
2023-03-24 20:40:52 +00:00
Nick Craig-Wood
844e8fb8bd
lib/errors: add support for unwrapping go1.20 multi errors
2023-01-17 11:35:19 +00:00
albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
Nick Craig-Wood
6fd9e3d717
build: reformat comments to pass go1.19 vet
...
See: https://go.dev/doc/go1.19#go-doc
2022-08-05 16:35:41 +01:00
Nick Craig-Wood
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
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Nick Craig-Wood
7963320a29
lib/errors: don't panic on uncomparable errors #3123
...
Same fix as c5775cf73d
2019-04-26 09:56:20 +01:00
Fabian Möller
9ed721a3f6
errors: add lib/errors package
2019-02-16 14:38:07 +00:00