goweb/example/pluggable/myplugin/main.go

12 lines
165 B
Go
Raw Permalink Normal View History

package main
import (
"context"
"gitlab.com/wpetit/goweb/plugin"
)
func RegisterPlugin(ctx context.Context) (plugin.Plugin, error) {
return &MyPlugin{}, nil
}