Chore: move find process name to a single part

This commit is contained in:
Dreamacro
2020-12-17 22:17:27 +08:00
parent 0d33dc3eb9
commit 4b1b494164
10 changed files with 171 additions and 341 deletions

View File

@ -5,9 +5,7 @@ import (
)
var (
errPayload = errors.New("payload error")
ErrPlatformNotSupport = errors.New("not support on this platform")
ErrInvalidNetwork = errors.New("invalid network")
errPayload = errors.New("payload error")
noResolve = "no-resolve"
)