Skip to content

Commit

Permalink
Fix a docstring that was mentioning the ResourceHandler.
Browse files Browse the repository at this point in the history
Also get a more accurate list of implemented interfaces.
  • Loading branch information
ant0ine committed May 17, 2015
1 parent fc2c9a0 commit bd5fcdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
)

// A ResponseWriter interface dedicated to JSON HTTP response.
// Note that the object instantiated by the ResourceHandler that implements this interface,
// also happens to implement http.ResponseWriter, http.Flusher and http.CloseNotifier.
// Note, the responseWriter object instantiated by the framework also implements many other interfaces
// accessible by type assertion: http.ResponseWriter, http.Flusher, http.CloseNotifier, http.Hijacker.
type ResponseWriter interface {

// Identical to the http.ResponseWriter interface
Expand Down

0 comments on commit bd5fcdd

Please sign in to comment.