We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999c0dd commit 6c07b7fCopy full SHA for 6c07b7f
pkg/wry/wry.go
@@ -98,6 +98,7 @@ func (r *Result) DecodeGBK() *Result {
98
}
99
100
func (r *Result) Trim() *Result {
101
+ r.Country = strings.TrimSpace(strings.ReplaceAll(r.Country, "–", " ")) //替换纯真IP分隔符为空格
102
r.Country = strings.TrimSpace(strings.ReplaceAll(r.Country, "CZ88.NET", ""))
103
r.Area = strings.TrimSpace(strings.ReplaceAll(r.Area, "CZ88.NET", ""))
104
return r
0 commit comments