• Dmitri Shuralyov's avatar
    http2/hpack: remove unused pair function from package · 4dbf5989
    Dmitri Shuralyov authored
    Move it to a _test.go file instead.
    
    After CL 43190, the pair function is no longer used by the hpack
    package, so it can be removed from it. It's still used by tests.
    
    This can help avoid future readers spending time on figuring out
    why pair exists in package, but is not used. It can also reduce
    chance of the pair function unintentionally being used in the
    package (if that needs to happen explicitly, then pair can be
    easily moved back to package).
    
    Change-Id: I12ee9b46f57a522bd09e5d0ee22296df4dee1f35
    Reviewed-on: https://go-review.googlesource.com/43851Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    4dbf5989
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
dns/dnsmessage Loading commit data...
html Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lex/httplex Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
codereview.cfg Loading commit data...