add cgo to build constraints

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-06-16 09:46:17 +02:00
parent 39cf9f6943
commit e0c1b974c9
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF
4 changed files with 8 additions and 8 deletions

View file

@ -12,8 +12,8 @@
// You should have received a copy of the GNU Affero General Public License // 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/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:build !nosqlite //go:build !nosqlite && cgo
// +build !nosqlite // +build !nosqlite,cgo
package dataprovider package dataprovider

View file

@ -12,8 +12,8 @@
// You should have received a copy of the GNU Affero General Public License // 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/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:build nosqlite //go:build nosqlite || !cgo
// +build nosqlite // +build nosqlite !cgo
package dataprovider package dataprovider

View file

@ -12,8 +12,8 @@
// You should have received a copy of the GNU Affero General Public License // 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/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:build unixcrypt //go:build unixcrypt && cgo
// +build unixcrypt // +build unixcrypt,cgo
package dataprovider package dataprovider

View file

@ -12,8 +12,8 @@
// You should have received a copy of the GNU Affero General Public License // 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/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:build !unixcrypt //go:build !unixcrypt || !cgo
// +build !unixcrypt // +build !unixcrypt !cgo
package dataprovider package dataprovider