go fix
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
//go:build foundationdb
|
//go:build foundationdb
|
||||||
// +build foundationdb
|
|
||||||
|
|
||||||
package foundationdb
|
package foundationdb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build foundationdb
|
//go:build foundationdb
|
||||||
// +build foundationdb
|
|
||||||
|
|
||||||
package foundationdb
|
package foundationdb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build integration
|
//go:build integration
|
||||||
// +build integration
|
|
||||||
|
|
||||||
package sse
|
package sse
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !windows && !openbsd && !netbsd && !plan9 && !solaris
|
//go:build !windows && !openbsd && !netbsd && !plan9 && !solaris
|
||||||
// +build !windows,!openbsd,!netbsd,!plan9,!solaris
|
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build elastic
|
//go:build elastic
|
||||||
// +build elastic
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !elastic
|
//go:build !elastic
|
||||||
// +build !elastic
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !windows
|
//go:build !windows
|
||||||
// +build !windows
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !darwin && !freebsd && !linux
|
//go:build !darwin && !freebsd && !linux
|
||||||
// +build !darwin,!freebsd,!linux
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build darwin || freebsd || linux
|
//go:build darwin || freebsd || linux
|
||||||
// +build darwin freebsd linux
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !linux && !darwin && !freebsd
|
//go:build !linux && !darwin && !freebsd
|
||||||
// +build !linux,!darwin,!freebsd
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build linux || darwin || freebsd
|
//go:build linux || darwin || freebsd
|
||||||
// +build linux darwin freebsd
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build linux || darwin || freebsd
|
//go:build linux || darwin || freebsd
|
||||||
// +build linux darwin freebsd
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build elastic && gocdk && rclone && sqlite && tarantool && tikv && ydb
|
//go:build elastic && gocdk && rclone && sqlite && tarantool && tikv && ydb
|
||||||
// +build elastic,gocdk,rclone,sqlite,tarantool,tikv,ydb
|
|
||||||
|
|
||||||
package command
|
package command
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build elastic
|
//go:build elastic
|
||||||
// +build elastic
|
|
||||||
|
|
||||||
package elastic
|
package elastic
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build elastic
|
//go:build elastic
|
||||||
// +build elastic
|
|
||||||
|
|
||||||
package elastic
|
package elastic
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build foundationdb
|
//go:build foundationdb
|
||||||
// +build foundationdb
|
|
||||||
|
|
||||||
// Package foundationdb provides a filer store implementation using FoundationDB as the backend.
|
// Package foundationdb provides a filer store implementation using FoundationDB as the backend.
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build foundationdb
|
//go:build foundationdb
|
||||||
// +build foundationdb
|
|
||||||
|
|
||||||
package foundationdb
|
package foundationdb
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
//go:build (linux || darwin || windows) && sqlite
|
//go:build (linux || darwin || windows) && sqlite
|
||||||
// +build linux darwin windows
|
|
||||||
// +build sqlite
|
|
||||||
|
|
||||||
// limited GOOS due to modernc.org/libc/unistd
|
// limited GOOS due to modernc.org/libc/unistd
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !linux && !darwin && !windows && !s390 && !ppc64le && !mips64 && !sqlite
|
//go:build !linux && !darwin && !windows && !s390 && !ppc64le && !mips64 && !sqlite
|
||||||
// +build !linux,!darwin,!windows,!s390,!ppc64le,!mips64,!sqlite
|
|
||||||
|
|
||||||
// limited GOOS due to modernc.org/libc/unistd
|
// limited GOOS due to modernc.org/libc/unistd
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build tarantool
|
//go:build tarantool
|
||||||
// +build tarantool
|
|
||||||
|
|
||||||
package tarantool
|
package tarantool
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build tarantool
|
//go:build tarantool
|
||||||
// +build tarantool
|
|
||||||
|
|
||||||
package tarantool
|
package tarantool
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build tarantool
|
//go:build tarantool
|
||||||
// +build tarantool
|
|
||||||
|
|
||||||
package tarantool
|
package tarantool
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build tikv
|
//go:build tikv
|
||||||
// +build tikv
|
|
||||||
|
|
||||||
package tikv
|
package tikv
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build tikv
|
//go:build tikv
|
||||||
// +build tikv
|
|
||||||
|
|
||||||
package tikv
|
package tikv
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ydb
|
//go:build ydb
|
||||||
// +build ydb
|
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ydb
|
//go:build ydb
|
||||||
// +build ydb
|
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ydb
|
//go:build ydb
|
||||||
// +build ydb
|
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ydb
|
//go:build ydb
|
||||||
// +build ydb
|
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ydb
|
//go:build ydb
|
||||||
// +build ydb
|
|
||||||
|
|
||||||
package ydb
|
package ydb
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build test
|
//go:build test
|
||||||
// +build test
|
|
||||||
|
|
||||||
package oidc
|
package oidc
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !linux && !windows
|
//go:build !linux && !windows
|
||||||
// +build !linux,!windows
|
|
||||||
|
|
||||||
package unmount
|
package unmount
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build windows
|
//go:build windows
|
||||||
// +build windows
|
|
||||||
|
|
||||||
package unmount
|
package unmount
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !freebsd
|
//go:build !freebsd
|
||||||
// +build !freebsd
|
|
||||||
|
|
||||||
package mount
|
package mount
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build gocdk
|
//go:build gocdk
|
||||||
// +build gocdk
|
|
||||||
|
|
||||||
// Package gocdk_pub_sub supports the Go CDK (Cloud Development Kit) PubSub API,
|
// Package gocdk_pub_sub supports the Go CDK (Cloud Development Kit) PubSub API,
|
||||||
// which in turn supports many providers, including Amazon SNS/SQS, Azure Service Bus,
|
// which in turn supports many providers, including Amazon SNS/SQS, Azure Service Bus,
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build gocdk
|
//go:build gocdk
|
||||||
// +build gocdk
|
|
||||||
|
|
||||||
package sub
|
package sub
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build ignore
|
//go:build ignore
|
||||||
// +build ignore
|
|
||||||
|
|
||||||
package policy_engine
|
package policy_engine
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build rocksdb
|
//go:build rocksdb
|
||||||
// +build rocksdb
|
|
||||||
|
|
||||||
package weed_server
|
package weed_server
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import (
|
|||||||
"github.com/seaweedfs/seaweedfs/weed/storage/backend"
|
"github.com/seaweedfs/seaweedfs/weed/storage/backend"
|
||||||
"github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"
|
"github.com/seaweedfs/seaweedfs/weed/storage/erasure_coding"
|
||||||
|
|
||||||
"golang.org/x/net/context"
|
"context"
|
||||||
|
|
||||||
"github.com/seaweedfs/seaweedfs/weed/glog"
|
"github.com/seaweedfs/seaweedfs/weed/glog"
|
||||||
"github.com/seaweedfs/seaweedfs/weed/pb/master_pb"
|
"github.com/seaweedfs/seaweedfs/weed/pb/master_pb"
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build netbsd || plan9
|
//go:build netbsd || plan9
|
||||||
// +build netbsd plan9
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build openbsd
|
//go:build openbsd
|
||||||
// +build openbsd
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build solaris
|
//go:build solaris
|
||||||
// +build solaris
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !windows && !openbsd && !netbsd && !plan9 && !solaris
|
//go:build !windows && !openbsd && !netbsd && !plan9 && !solaris
|
||||||
// +build !windows,!openbsd,!netbsd,!plan9,!solaris
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !linux
|
//go:build !linux
|
||||||
// +build !linux
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build linux
|
//go:build linux
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package stats
|
package stats
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !windows
|
//go:build !windows
|
||||||
// +build !windows
|
|
||||||
|
|
||||||
package memory_map
|
package memory_map
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build windows
|
//go:build windows
|
||||||
// +build windows
|
|
||||||
|
|
||||||
package memory_map
|
package memory_map
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build rclone
|
//go:build rclone
|
||||||
// +build rclone
|
|
||||||
|
|
||||||
package rclone_backend
|
package rclone_backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build rclone
|
//go:build rclone
|
||||||
// +build rclone
|
|
||||||
|
|
||||||
package rclone_backend
|
package rclone_backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !linux && !windows
|
//go:build !linux && !windows
|
||||||
// +build !linux,!windows
|
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build linux
|
//go:build linux
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build windows
|
//go:build windows
|
||||||
// +build windows
|
|
||||||
|
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build 5BytesOffset
|
//go:build 5BytesOffset
|
||||||
// +build 5BytesOffset
|
|
||||||
|
|
||||||
package needle_map
|
package needle_map
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !5BytesOffset
|
//go:build !5BytesOffset
|
||||||
// +build !5BytesOffset
|
|
||||||
|
|
||||||
package types
|
package types
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build 5BytesOffset
|
//go:build 5BytesOffset
|
||||||
// +build 5BytesOffset
|
|
||||||
|
|
||||||
package types
|
package types
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !5BytesOffset
|
//go:build !5BytesOffset
|
||||||
// +build !5BytesOffset
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build 5BytesOffset
|
//go:build 5BytesOffset
|
||||||
// +build 5BytesOffset
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build s3tests
|
//go:build s3tests
|
||||||
// +build s3tests
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !s3tests
|
//go:build !s3tests
|
||||||
// +build !s3tests
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build linux || darwin || freebsd || netbsd || openbsd || plan9 || solaris || zos
|
//go:build linux || darwin || freebsd || netbsd || openbsd || plan9 || solaris || zos
|
||||||
// +build linux darwin freebsd netbsd openbsd plan9 solaris zos
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build windows
|
//go:build windows
|
||||||
// +build windows
|
|
||||||
|
|
||||||
package util
|
package util
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build !plan9
|
//go:build !plan9
|
||||||
// +build !plan9
|
|
||||||
|
|
||||||
package grace
|
package grace
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
//go:build plan9
|
//go:build plan9
|
||||||
// +build plan9
|
|
||||||
|
|
||||||
package grace
|
package grace
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user