Debian Codegraph @

_test/issue-775.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 "net/http/httptest"
6 )
7
8 func main() {
9 recorder := httptest.NewRecorder()
10 recorder.Header().Add("Foo", "Bar")
11
12 for key, value := range recorder.Header() {
13 fmt.Println(key, value)
14 }
15 }
16
17 // Output:
18 // Foo [Bar]