Providers are now required to state their name/package
This commit is contained in:
@@ -20,6 +20,11 @@ type Provider struct {
|
||||
RendererOptions []renderer.Option
|
||||
}
|
||||
|
||||
// Package fulfills the step.Provider interface.
|
||||
func (this *Provider) Package () string {
|
||||
return "markdown"
|
||||
}
|
||||
|
||||
// Default returns a provider with the default configuration.
|
||||
func Default () *Provider {
|
||||
return &Provider {
|
||||
|
||||
Reference in New Issue
Block a user