feat #1342: support specify custom python3 venv

This commit is contained in:
debugtalk
2022-06-13 21:31:05 +08:00
parent f24c453890
commit 182d2fd5d8
35 changed files with 381 additions and 123 deletions
@@ -2,12 +2,12 @@
package main
import (
"github.com/httprunner/funplugin/fungo"
"github.com/httprunner/funplugin/fungo"
)
func main() {
{{- range $functionName := .FunctionNames }}
fungo.Register("{{ $functionName }}", {{ $functionName }})
fungo.Register("{{ $functionName }}", {{ $functionName }})
{{- end }}
fungo.Serve()
}
@@ -12,6 +12,7 @@
{{ end }}
if __name__ == "__main__":
import funppy
{{- range $functionName := .FunctionNames }}
funppy.register("{{ $functionName }}", {{ $functionName }})
{{- end }}
@@ -1,4 +1,4 @@
// NOTE: Generated By hrp v4.1.2, DO NOT EDIT!
// NOTE: Generated By hrp v4.1.3, DO NOT EDIT!
package main
import (