1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-10 12:33:46 +00:00

build: apply gofmt from golang 1.17

This commit is contained in:
Ivan Andreev
2021-09-09 15:25:25 +03:00
parent 2bc2546d5c
commit 24de896df2
178 changed files with 223 additions and 56 deletions

View File

@@ -1,5 +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

View File

@@ -1,5 +1,6 @@
// Code generated by vfsgen; DO NOT EDIT.
//go:build !dev
// +build !dev
package data

View File

@@ -1,3 +1,4 @@
//go:build linux && !android
// +build linux,!android
package docker

View File

@@ -1,3 +1,4 @@
//go:build !linux || android
// +build !linux android
package docker

View File

@@ -1,3 +1,4 @@
//go:build linux || freebsd
// +build linux freebsd
package docker

View File

@@ -1,3 +1,4 @@
//go:build !linux && !freebsd
// +build !linux,!freebsd
package docker

View File

@@ -1,6 +1,7 @@
// Package ftp implements an FTP server for rclone
//+build !plan9
//go:build !plan9
// +build !plan9
package ftp

View File

@@ -3,7 +3,8 @@
//
// We skip tests on platforms with troublesome character mappings
//+build !windows,!darwin,!plan9
//go:build !windows && !darwin && !plan9
// +build !windows,!darwin,!plan9
package ftp

View File

@@ -1,6 +1,7 @@
// Build for unsupported platforms to stop go complaining
// about "no buildable Go source files "
//go:build plan9
// +build plan9
package ftp

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
package main

View File

@@ -1,5 +1,6 @@
// Code generated by vfsgen; DO NOT EDIT.
//go:build !dev
// +build !dev
package data

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// A simple auth proxy for testing purposes

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// A simple auth proxy for testing purposes

View File

@@ -1,3 +1,4 @@
//go:build !plan9
// +build !plan9
package sftp

View File

@@ -1,3 +1,4 @@
//go:build !plan9
// +build !plan9
package sftp

View File

@@ -1,3 +1,4 @@
//go:build !plan9
// +build !plan9
package sftp

View File

@@ -1,3 +1,4 @@
//go:build !plan9
// +build !plan9
package sftp

View File

@@ -1,5 +1,6 @@
// Package sftp implements an SFTP server to serve an rclone VFS
//go:build !plan9
// +build !plan9
package sftp

View File

@@ -3,7 +3,8 @@
//
// We skip tests on platforms with troublesome character mappings
//+build !windows,!darwin,!plan9
//go:build !windows && !darwin && !plan9
// +build !windows,!darwin,!plan9
package sftp

View File

@@ -1,6 +1,7 @@
// Build for sftp for unsupported platforms to stop go complaining
// about "no buildable Go source files "
//go:build plan9
// +build plan9
package sftp

View File

@@ -3,7 +3,8 @@
//
// We skip tests on platforms with troublesome character mappings
//+build !windows,!darwin
//go:build !windows && !darwin
// +build !windows,!darwin
package webdav