Explorar o código

Update build tags

Tulir Asokan %!s(int64=3) %!d(string=hai) anos
pai
achega
1f6d316ff3
Modificáronse 3 ficheiros con 3 adicións e 0 borrados
  1. 1 0
      crypto.go
  2. 1 0
      database/cryptostore.go
  3. 1 0
      no-crypto.go

+ 1 - 0
crypto.go

@@ -14,6 +14,7 @@
 // You should have received a copy of the GNU Affero General Public License
 // along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
+//go:build cgo && !nocrypto
 // +build cgo,!nocrypto
 
 package main

+ 1 - 0
database/cryptostore.go

@@ -14,6 +14,7 @@
 // You should have received a copy of the GNU Affero General Public License
 // along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
+//go:build cgo && !nocrypto
 // +build cgo,!nocrypto
 
 package database

+ 1 - 0
no-crypto.go

@@ -1,3 +1,4 @@
+//go:build !cgo || nocrypto
 // +build !cgo nocrypto
 
 package main