mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-21 04:11:16 +00:00
10 lines
224 B
Go
10 lines
224 B
Go
|
package api
|
||
|
|
||
|
import "github.com/Luzifer/twitch-bot/plugins"
|
||
|
|
||
|
func Register(args plugins.RegistrationArguments) error {
|
||
|
args.RegisterTemplateFunction("jsonAPI", plugins.GenericTemplateFunctionGetter(jsonAPI))
|
||
|
|
||
|
return nil
|
||
|
}
|