dragonfly/pkg/util/fileutils
Eng Zer Jun f579d3c9ce
refactor: move from io/ioutil to io and os packages (#906)
* chore: run `go fmt ./...`

This commit synchronizes `//go:build` lines with `// +build` lines.

Reference: https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* refactor: move from io/ioutil to io and os packages

The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-06-28 17:32:45 +08:00
..
filerw chore: add lint errcheck and fix errcheck(#766) 2023-06-28 17:32:35 +08:00
test refactor: move from io/ioutil to io and os packages (#906) 2023-06-28 17:32:45 +08:00
.DS_Store Merge branch main-rc to branch main 2023-06-28 17:20:20 +08:00
file_lock.go Merge branch main-rc to branch main 2023-06-28 17:20:20 +08:00
file_utils.go chore: update golang import lint (#780) 2023-06-28 17:32:34 +08:00