mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 14:29:44 +08:00
18 lines
308 B
Plaintext
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()
|
|
}
|