☰
Debian Codegraph
@
0.0~git20170927.0.4152256-7
/
/
compiler
/
natives
/
src
/
net
/
http
/
cookiejar
/
example_test.go
☽
☼
compiler/natives/src/net/http/cookiejar/example_test.go
code
plain
raw
BSD-2-clause
2013 Richard Musiol
debian/copyright
1
// +build js
2
3
package cookiejar_test
4
5
import "fmt"
6
7
func ExampleNew() {
8
// network access not supported by GopherJS, and this test depends on httptest.NewServer
9
10
fmt.Println(`After 1st request:
11
Flavor: Chocolate Chip
12
After 2nd request:
13
Flavor: Oatmeal Raisin`)
14
}