refactor: move hrp code

This commit is contained in:
lilong.129
2024-08-27 20:20:46 +08:00
parent 67eecb405c
commit 11cfae5e5d
30 changed files with 31 additions and 32 deletions

12
hrp/code/code_test.go Normal file
View File

@@ -0,0 +1,12 @@
package code
import (
"fmt"
"testing"
)
func TestGetErrorCode(t *testing.T) {
err := LoadYAMLError
code := GetErrorCode(err)
fmt.Println(code)
}