refactor: move hrp/ to root folder

This commit is contained in:
lilong.129
2025-02-06 10:52:08 +08:00
parent 9376692b71
commit 1f063dd6f7
221 changed files with 206 additions and 211 deletions

11
internal/wiki/main.go Normal file
View File

@@ -0,0 +1,11 @@
package wiki
import (
"github.com/httprunner/funplugin/myexec"
"github.com/rs/zerolog/log"
)
func OpenWiki() error {
log.Info().Msgf("%s https://httprunner.com", openCmd)
return myexec.RunCommand(openCmd, "https://httprunner.com")
}

View File

@@ -0,0 +1,3 @@
package wiki
const openCmd = "open"

View File

@@ -0,0 +1,3 @@
package wiki
const openCmd = "xdg-open"

View File

@@ -0,0 +1,3 @@
package wiki
const openCmd = "explorer"