☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct11.go
☽
☼
_test/struct11.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
(
4
"fmt"
5
"net/http"
6
)
7
8
type
Fromage
struct
{
9
http.
ResponseWriter
10
}
11
12
func
main() {
13
a :=
Fromage
{}
14
if
a.
ResponseWriter
==
nil
{
15
fmt.
Println
(
"nil"
)
16
}
else
{
17
fmt.
Println
(
"not nil"
)
18
}
19
}
20
21
// Output:
22
// nil