Skip to content

Commit

Permalink
Run go fmt ... on codebase (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannic authored Apr 9, 2022
1 parent 3698607 commit fa2206b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions xattr_bsd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build freebsd || netbsd
// +build freebsd netbsd

package xattr
Expand Down
1 change: 1 addition & 0 deletions xattr_darwin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build darwin
// +build darwin

package xattr
Expand Down
1 change: 1 addition & 0 deletions xattr_flags_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux || darwin || solaris
// +build linux darwin solaris

package xattr
Expand Down
1 change: 1 addition & 0 deletions xattr_linux.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux
// +build linux

package xattr
Expand Down
3 changes: 2 additions & 1 deletion xattr_solaris.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build solaris
// +build solaris

package xattr
Expand Down Expand Up @@ -90,7 +91,7 @@ func removexattr(path string, name string) error {
if err != nil {
return err
}
f := os.NewFile(uintptr(fd), path);
f := os.NewFile(uintptr(fd), path)
defer func() {
_ = f.Close()
}()
Expand Down
1 change: 1 addition & 0 deletions xattr_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build linux || darwin || freebsd || netbsd || solaris
// +build linux darwin freebsd netbsd solaris

package xattr
Expand Down

0 comments on commit fa2206b

Please sign in to comment.