()
| 16 | } |
| 17 | |
| 18 | func ExampleMustNormalizeURLString() { |
| 19 | normalized := MustNormalizeURLString("hTTpS://someWEBsite.com:443/Amazing%fa/url/", |
| 20 | FlagsUnsafeGreedy) |
| 21 | fmt.Print(normalized) |
| 22 | |
| 23 | // Output: http://somewebsite.com/Amazing%FA/url |
| 24 | } |
| 25 | |
| 26 | func ExampleNormalizeURL() { |
| 27 | if u, err := url.Parse("Http://SomeUrl.com:8080/a/b/.././c///g?c=3&a=1&b=9&c=0#target"); err != nil { |
nothing calls this directly
no test coverage detected
searching dependent graphs…