build: remove build constraint syntax for go 1.16 and older
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
//go:generate go run assets_generate.go
|
||||
// The "go:generate" directive compiles static assets by running assets_generate.go
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !race
|
||||
// +build !race
|
||||
|
||||
package docker_test
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build linux && !android
|
||||
// +build linux,!android
|
||||
|
||||
package docker
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !linux || android
|
||||
// +build !linux android
|
||||
|
||||
package docker
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build linux || freebsd
|
||||
// +build linux freebsd
|
||||
|
||||
package docker
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !linux && !freebsd
|
||||
// +build !linux,!freebsd
|
||||
|
||||
package docker
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
// Package ftp implements an FTP server for rclone
|
||||
package ftp
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// We skip tests on platforms with troublesome character mappings
|
||||
|
||||
//go:build !windows && !darwin && !plan9
|
||||
// +build !windows,!darwin,!plan9
|
||||
|
||||
package ftp
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// about "no buildable Go source files "
|
||||
|
||||
//go:build plan9
|
||||
// +build plan9
|
||||
|
||||
package ftp
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build unix
|
||||
// +build unix
|
||||
|
||||
package nfs
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build unix
|
||||
// +build unix
|
||||
|
||||
package nfs
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build unix
|
||||
// +build unix
|
||||
|
||||
// Package nfs implements a server to serve a VFS remote over NFSv3 protocol
|
||||
//
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// For unsupported architectures
|
||||
//go:build !unix
|
||||
// +build !unix
|
||||
|
||||
// Package nfs is not supported on non-Unix platforms
|
||||
package nfs
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build unix
|
||||
// +build unix
|
||||
|
||||
package nfs
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// A simple auth proxy for testing purposes
|
||||
package main
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// A simple auth proxy for testing purposes
|
||||
package main
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build !plan9
|
||||
// +build !plan9
|
||||
|
||||
// Package sftp implements an SFTP server to serve an rclone VFS
|
||||
package sftp
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// We skip tests on platforms with troublesome character mappings
|
||||
|
||||
//go:build !windows && !darwin && !plan9
|
||||
// +build !windows,!darwin,!plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// about "no buildable Go source files "
|
||||
|
||||
//go:build plan9
|
||||
// +build plan9
|
||||
|
||||
package sftp
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
// We skip tests on platforms with troublesome character mappings
|
||||
|
||||
//go:build !windows && !darwin
|
||||
// +build !windows,!darwin
|
||||
|
||||
package webdav
|
||||
|
||||
|
||||
Reference in New Issue
Block a user