| 1 | package transportscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/ |
| 2 | |
| 3 | import ( |
| 4 | "fmtscip-go gomod github.com/golang/go/src go1.18 fmt/" |
| 5 | "stringsscip-go gomod github.com/golang/go/src go1.18 strings/" |
| 6 | ) |
| 7 | |
| 8 | type badStringErrorscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError# struct { |
| 9 | whatscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#what. string |
| 10 | strscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#str. string |
| 11 | } |
| 12 | |
| 13 | func (e *badStringErrorscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#) Errorscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#Error().() string { return fmtscip-go gomod github.com/golang/go/src go1.18 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.18 fmt/Sprintf().("%s %q", e.whatscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#what., e.strscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/badStringError#str.) } |
| 14 | |
| 15 | func hasPortscip-go gomod github.com/elazarl/goproxy . `github.com/elazarl/goproxy/transport`/hasPort().(s string) bool { return stringsscip-go gomod github.com/golang/go/src go1.18 strings/.LastIndexscip-go gomod github.com/golang/go/src go1.18 strings/LastIndex().(s, ":") > stringsscip-go gomod github.com/golang/go/src go1.18 strings/.LastIndexscip-go gomod github.com/golang/go/src go1.18 strings/LastIndex().(s, "]") } |