diff options
| author | Adnan Maolood <[email protected]> | 2021-02-24 10:01:44 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-24 10:01:46 -0500 |
| commit | b66b287f94602e9ce98c69d5b0b177b800ba370f (patch) | |
| tree | d205b22581460906b36cdc568e6e28113eb2a1f7 /response.go | |
| parent | client: Fix copying of request (diff) | |
| download | go-gemini-b66b287f94602e9ce98c69d5b0b177b800ba370f.tar.xz go-gemini-b66b287f94602e9ce98c69d5b0b177b800ba370f.zip | |
ResponseWriter: Remove unexported method
Diffstat (limited to 'response.go')
| -rw-r--r-- | response.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/response.go b/response.go index 4d16bdb..594fda2 100644 --- a/response.go +++ b/response.go @@ -160,11 +160,6 @@ type ResponseWriter interface { // Close closes the connection. // Any blocked Write operations will be unblocked and return errors. Close() error - - // unexported method so we can extend this interface over time - // without breaking existing code. Implementers must embed a concrete - // type from elsewhere. - unexported() } type responseWriter struct { @@ -228,5 +223,3 @@ func (w *responseWriter) Flush() error { func (w *responseWriter) Close() error { return w.cl.Close() } - -func (w *responseWriter) unexported() {} |