13 lines
190 B
Go
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)
|
||
|
}
|