fusen-gateway/server/logic/custom_test.go
2023-11-15 14:32:14 +08:00

13 lines
190 B
Go

package logic
import (
"log"
"testing"
)
func TestRe(t *testing.T) {
fsHeader := `{"code": 200 , "msg":"asd"}`
code := codeRE.FindStringSubmatch(string(fsHeader))
log.Println(code)
}