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

18 lines
308 B
Plaintext

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