This commit is contained in:
Lei Xue
2022-12-10 21:05:52 +08:00
parent a1c52d7160
commit d92d540c52
8 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
// limitations under the License.
// Only include cephstore when building with cgo.
//go:build cgo
// +build cgo
package cmd

View File

@@ -1,3 +1,4 @@
//go:build linux || freebsd || solaris || openbsd
// +build linux freebsd solaris openbsd
package client

View File

@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build go1.5
// +build go1.5
package cancellable

View File

@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build !go1.5
// +build !go1.5
package cancellable

View File

@@ -1,3 +1,4 @@
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package homedir

View File

@@ -1,3 +1,4 @@
//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package homedir

View File

@@ -1,4 +1,6 @@
//go:build darwin
// +build darwin
/*
Copyright 2016 The GoStor Authors All rights reserved.

View File

@@ -1,3 +1,4 @@
//go:build linux
// +build linux
/*