1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-09-16 17:46:19 +02:00

renamed build tag

This commit is contained in:
Gani Georgiev
2024-11-01 19:09:48 +02:00
parent b11ea60436
commit 1a1e3a2741
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
//go:build !nodefaultdriver
//go:build !no_default_driver
package core

View File

@@ -1,9 +1,9 @@
//go:build nodefaultdriver
//go:build no_default_driver
package core
import "github.com/pocketbase/dbx"
func DefaultDBConnect(dbPath string) (*dbx.DB, error) {
panic("DBConnect config option must be set when the nodefaultdriver tag is used!")
panic("DBConnect config option must be set when the no_default_driver tag is used!")
}