Debian Codegraph @

_test/method18.go

raw symbols SCIP
1 package main
2
3 import (
4 "compress/gzip"
5 "fmt"
6 "net/http"
7 )
8
9 type GzipResponseWriter struct {
10 http.ResponseWriter
11 index int
12 gw *gzip.Writer
13 }
14
15 type GzipResponseWriterWithCloseNotify struct {
16 *GzipResponseWriter
17 }
18
19 func (w GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
20 return w.ResponseWriter.(http.CloseNotifier).CloseNotify()
21 }
22
23 func main() {
24 fmt.Println("hello")
25 }
26
27 // Output:
28 // hello