Debian Codegraph @

_test/assign0.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 "net/http"
6 "time"
7 )
8
9 func main() {
10 http.DefaultClient.Timeout = time.Second * 10
11 fmt.Println(http.DefaultClient)
12 http.DefaultClient = &http.Client{}
13 fmt.Println(http.DefaultClient)
14 }
15
16 // Output:
17 // &{<nil> <nil> <nil> 10s}
18 // &{<nil> <nil> <nil> 0s}