MCPcopy
hub / github.com/pocketbase/pocketbase / MustRegister

Function MustRegister

plugins/ghupdate/ghupdate.go:65–69  ·  view source on GitHub ↗

MustRegister registers the ghupdate plugin to the provided app instance and panic if it fails.

(app core.App, rootCmd *cobra.Command, config Config)

Source from the content-addressed store, hash-verified

63// MustRegister registers the ghupdate plugin to the provided app instance
64// and panic if it fails.
65func MustRegister(app core.App, rootCmd *cobra.Command, config Config) {
66 if err := Register(app, rootCmd, config); err != nil {
67 panic(err)
68 }
69}
70
71// Register registers the ghupdate plugin to the provided app instance.
72func Register(app core.App, rootCmd *cobra.Command, config Config) error {

Callers 1

mainFunction · 0.92

Calls 1

RegisterFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…