You've already forked pocketbase
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:
@@ -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