mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
refactor: hrp build
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
// NOTE: Generated By hrp {{ .Version }}, DO NOT EDIT!
|
||||
package main
|
||||
|
||||
import (
|
||||
{{- range $import := .Imports }}
|
||||
{{ $import -}}
|
||||
{{ end }}
|
||||
"github.com/httprunner/funplugin/fungo"
|
||||
)
|
||||
|
||||
{{ range $function := .Functions }}
|
||||
{{ $function }}
|
||||
{{ end }}
|
||||
|
||||
func main() {
|
||||
{{- range $functionName := .FunctionNames }}
|
||||
fungo.Register("{{ $functionName }}", {{ $functionName }})
|
||||
|
||||
Reference in New Issue
Block a user