File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175,19 +175,19 @@ func (hs Headers) Append(h *Header) {
175175}
176176
177177func (hs Headers ) Get (key string ) string {
178- found , h := hs .get (key )
178+ h , found := hs .get (key )
179179 if ! found {
180180 return ""
181181 }
182182 return h .Value
183183}
184184
185185func (hs Headers ) GetHeader (key string ) (header * Header ) {
186- _ , header = hs .get (key )
186+ header , _ = hs .get (key )
187187 return
188188}
189189
190- func (hs Headers ) get (key string ) (found bool , header * Header ) {
190+ func (hs Headers ) get (key string ) (header * Header , found bool ) {
191191 h , found := hs [key ]
192192 if ! found {
193193 h , found = hs [headers .Normalize (key )] //nolint:misspell
@@ -207,7 +207,7 @@ func (hs Headers) Has(h *Header) bool {
207207}
208208
209209func (hs Headers ) HasHeader (key string ) bool {
210- found , _ := hs .get (key )
210+ _ , found := hs .get (key )
211211 return found
212212}
213213
You can’t perform that action at this time.
0 commit comments