refactor: move hrp/ to root folder

This commit is contained in:
lilong.129
2025-02-06 11:03:41 +08:00
parent 9376692b71
commit 1f063dd6f7
221 changed files with 206 additions and 211 deletions
+13
View File
@@ -0,0 +1,13 @@
package convert
import "github.com/httprunner/httprunner/v5/internal/builtin"
// convert TCase to JSON case
func (c *TCaseConverter) toJSON() (string, error) {
jsonPath := c.genOutputPath(suffixJSON)
err := builtin.Dump2JSON(c.tCase, jsonPath)
if err != nil {
return "", err
}
return jsonPath, nil
}