Files
httprunner/hrp/internal/build/templates/debugtalkGoTemplate
2022-05-27 17:20:03 +08:00

18 lines
306 B
Plaintext

package main
import (
{{- range $import := .Imports }}
{{ $import -}}
{{ end }}
)
{{ range $function := .Functions }}
{{ $function }}
{{ end }}
func main() {
{{- range $idx, $functionName := .FunctionNames }}
fungo.Register("{{ $functionName }}", {{ $functionName }})
{{- end }}
fungo.Serve()
}