You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
146 B

package http
import (
"fmt"
"testing"
)
func Test_parseTarget(t *testing.T) {
fmt.Println(parseTarget("127.0.0.2:2213/abc?name=", false))
}