twitch-bot/internal/template/twitch/twitch.go
Knut Ahlers c78356f68f
Lint: Update linter config, improve code quality
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-01-01 17:52:39 +01:00

19 lines
389 B
Go

// Package twitch defines Twitch related template functions not having
// their place in any other package
package twitch
import (
"github.com/Luzifer/twitch-bot/v3/plugins"
)
var regFn []func(plugins.RegistrationArguments)
// Register provides the plugins.RegisterFunc
func Register(args plugins.RegistrationArguments) error {
for _, fn := range regFn {
fn(args)
}
return nil
}