Browse Source

Autofixes

Volodymyr Tkach 2 years ago
parent
commit
32a6979779

+ 1 - 0
engine/consts/platform_other.go

@@ -1,3 +1,4 @@
+//go:build !windows
 // +build !windows
 // +build !windows
 
 
 package consts
 package consts

+ 1 - 0
engine/consts/platform_windows.go

@@ -1,3 +1,4 @@
+//go:build windows
 // +build windows
 // +build windows
 
 
 package consts
 package consts

+ 1 - 0
vendor/github.com/go-sql-driver/mysql/appengine.go

@@ -6,6 +6,7 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 
 
+//go:build appengine
 // +build appengine
 // +build appengine
 
 
 package mysql
 package mysql

+ 1 - 0
vendor/github.com/go-sql-driver/mysql/connection_go18.go

@@ -6,6 +6,7 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 
 
+//go:build go1.8
 // +build go1.8
 // +build go1.8
 
 
 package mysql
 package mysql

+ 2 - 2
vendor/github.com/go-sql-driver/mysql/utils_go17.go

@@ -6,8 +6,8 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 
 
-// +build go1.7
-// +build !go1.8
+//go:build go1.7 && !go1.8
+// +build go1.7,!go1.8
 
 
 package mysql
 package mysql
 
 

+ 1 - 0
vendor/github.com/go-sql-driver/mysql/utils_go18.go

@@ -6,6 +6,7 @@
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // License, v. 2.0. If a copy of the MPL was not distributed with this file,
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 // You can obtain one at http://mozilla.org/MPL/2.0/.
 
 
+//go:build go1.8
 // +build go1.8
 // +build go1.8
 
 
 package mysql
 package mysql

+ 1 - 0
vendor/github.com/vladimirok5959/golang-ctrlc/ctrlc/platform_other.go

@@ -1,3 +1,4 @@
+//go:build !windows
 // +build !windows
 // +build !windows
 
 
 package ctrlc
 package ctrlc

+ 1 - 0
vendor/github.com/vladimirok5959/golang-ctrlc/ctrlc/platform_windows.go

@@ -1,3 +1,4 @@
+//go:build windows
 // +build windows
 // +build windows
 
 
 package ctrlc
 package ctrlc

+ 1 - 0
vendor/google.golang.org/appengine/cloudsql/cloudsql_classic.go

@@ -2,6 +2,7 @@
 // Use of this source code is governed by the Apache 2.0
 // Use of this source code is governed by the Apache 2.0
 // license that can be found in the LICENSE file.
 // license that can be found in the LICENSE file.
 
 
+//go:build appengine
 // +build appengine
 // +build appengine
 
 
 package cloudsql
 package cloudsql

+ 1 - 0
vendor/google.golang.org/appengine/cloudsql/cloudsql_vm.go

@@ -2,6 +2,7 @@
 // Use of this source code is governed by the Apache 2.0
 // Use of this source code is governed by the Apache 2.0
 // license that can be found in the LICENSE file.
 // license that can be found in the LICENSE file.
 
 
+//go:build !appengine
 // +build !appengine
 // +build !appengine
 
 
 package cloudsql
 package cloudsql