fusen-gateway/server/logic/custom_test.go

13 lines
190 B
Go
Raw Normal View History

2023-11-15 06:32:14 +00:00
package logic
import (
"log"
"testing"
)
func TestRe(t *testing.T) {
fsHeader := `{"code": 200 , "msg":"asd"}`
code := codeRE.FindStringSubmatch(string(fsHeader))
log.Println(code)
}