diff --git a/backend/cache/utils_test.go b/backend/cache/utils_test.go index 9f85b0155..0aea63bdb 100644 --- a/backend/cache/utils_test.go +++ b/backend/cache/utils_test.go @@ -1,5 +1,4 @@ //go:build !plan9 && !js -// +build !plan9,!js package cache diff --git a/backend/sharefile/tzdata_vfsdata.go b/backend/sharefile/tzdata_vfsdata.go index 23d2120f9..bcefbefa2 100644 --- a/backend/sharefile/tzdata_vfsdata.go +++ b/backend/sharefile/tzdata_vfsdata.go @@ -1,7 +1,6 @@ // Code generated by vfsgen; DO NOT EDIT. //go:build !dev -// +build !dev package sharefile diff --git a/bin/rules.go b/bin/rules.go index 05645adf5..a45bc2b25 100644 --- a/bin/rules.go +++ b/bin/rules.go @@ -13,7 +13,6 @@ // https://github.com/quasilyte/go-ruleguard?tab=readme-ov-file#troubleshooting //go:build ruleguard -// +build ruleguard // Package gorules implementing custom linting rules using ruleguard package gorules diff --git a/cmd/serve/dlna/data/assets_vfsdata.go b/cmd/serve/dlna/data/assets_vfsdata.go index da6fd39ab..d0cd7d4fc 100644 --- a/cmd/serve/dlna/data/assets_vfsdata.go +++ b/cmd/serve/dlna/data/assets_vfsdata.go @@ -1,7 +1,6 @@ // Code generated by vfsgen; DO NOT EDIT. //go:build !dev -// +build !dev package data diff --git a/fs/fserrors/error_syscall_test.go b/fs/fserrors/error_syscall_test.go index f2523b6fd..974b89411 100644 --- a/fs/fserrors/error_syscall_test.go +++ b/fs/fserrors/error_syscall_test.go @@ -1,5 +1,4 @@ //go:build !plan9 -// +build !plan9 package fserrors diff --git a/fs/logger/logger_test.go b/fs/logger/logger_test.go index 62d3b85fa..c3a57840a 100644 --- a/fs/logger/logger_test.go +++ b/fs/logger/logger_test.go @@ -1,5 +1,4 @@ //go:build !plan9 -// +build !plan9 package logger_test diff --git a/lib/sdactivation/sdactivation_stub.go b/lib/sdactivation/sdactivation_stub.go index e5fbff553..6baa29b0c 100644 --- a/lib/sdactivation/sdactivation_stub.go +++ b/lib/sdactivation/sdactivation_stub.go @@ -1,5 +1,4 @@ //go:build windows || plan9 -// +build windows plan9 // Package sdactivation provides support for systemd socket activation, // wrapping the coreos/go-systemd package. diff --git a/lib/sdactivation/sdactivation_unix.go b/lib/sdactivation/sdactivation_unix.go index 523321bcf..5579945c4 100644 --- a/lib/sdactivation/sdactivation_unix.go +++ b/lib/sdactivation/sdactivation_unix.go @@ -1,5 +1,4 @@ //go:build !windows && !plan9 -// +build !windows,!plan9 // Package sdactivation provides support for systemd socket activation, wrapping // the coreos/go-systemd package. diff --git a/vfs/vfstest/write_other.go b/vfs/vfstest/write_other.go index f95c3efa1..f1a6f4dc1 100644 --- a/vfs/vfstest/write_other.go +++ b/vfs/vfstest/write_other.go @@ -1,5 +1,4 @@ //go:build !linux && !darwin && !freebsd && !windows -// +build !linux,!darwin,!freebsd,!windows package vfstest