goweb/example/extendable/myext/main.go

12 lines
180 B
Go

package main
import (
"context"
"gitlab.com/wpetit/goweb/extension"
)
func RegisterExtension(ctx context.Context) (extension.Extension, error) {
return &MyExtension{}, nil
}