twitch-bot/internal/template/api/api.go

10 lines
224 B
Go
Raw Normal View History

package api
import "github.com/Luzifer/twitch-bot/plugins"
func Register(args plugins.RegistrationArguments) error {
args.RegisterTemplateFunction("jsonAPI", plugins.GenericTemplateFunctionGetter(jsonAPI))
return nil
}