mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-25 14:30:24 +01:00
renamed build tag
This commit is contained in:
1 parent
b11ea60436
commit
1a1e3a2741
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
//go:build !nodefaultdriver
|
||||
//go:build !no_default_driver
|
||||
|
||||
package core
|
||||
|
||||
|
||||
@@ -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!")
|
||||
}
|
||||
Reference in new issue
Block a user