mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
feat: gen plugin file with hrp version
This commit is contained in:
@@ -9,8 +9,9 @@ import (
|
||||
{{ range $function := .Functions }}
|
||||
{{ $function }}
|
||||
{{ end }}
|
||||
|
||||
func main() {
|
||||
{{- range $idx, $functionName := .FunctionNames }}
|
||||
{{- range $functionName := .FunctionNames }}
|
||||
fungo.Register("{{ $functionName }}", {{ $functionName }})
|
||||
{{- end }}
|
||||
fungo.Serve()
|
||||
|
||||
Reference in New Issue
Block a user