change: relocate plugin templates

This commit is contained in:
debugtalk
2022-05-29 13:28:48 +08:00
parent 7f134a33d6
commit bc36662f15
7 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
# NOTE: Generated By hrp {{ .Version }}, DO NOT EDIT!
{{ range $import := .Imports }}
{{- $import}}
{{ end }}
{{ range $fromImport := .FromImports }}
{{- $fromImport}}
{{ end }}
{{ range $function := .Functions }}
{{- $function }}
{{ end }}
if __name__ == "__main__":
{{- range $functionName := .FunctionNames }}
funppy.register("{{ $functionName }}", {{ $functionName }})
{{- end }}
funppy.serve()