mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-23 01:10:58 +08:00
18 lines
306 B
Plaintext
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()
|
|
}
|