mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
12 lines
236 B
Go
12 lines
236 B
Go
package pocketbase
|
|
|
|
import (
|
|
"github.com/benallfree/pbscript/modules/pbscript/engine"
|
|
"github.com/pocketbase/pocketbase"
|
|
)
|
|
|
|
func New() *pocketbase.PocketBase {
|
|
app := pocketbase.New()
|
|
engine.StartPBScript(app)
|
|
return app
|
|
} |