diff --git a/README.md b/README.md index a7bd2698..758af4a3 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Gin is a web framework written in Go (Golang). It features a martini-like API wi - [XML, JSON and YAML rendering](#xml-json-and-yaml-rendering) - [JSONP rendering](#jsonp) - [Serving static files](#serving-static-files) + - [Serving data from reader](#serving-data-from-reader) - [HTML rendering](#html-rendering) - [Multitemplate](#multitemplate) - [Redirects](#redirects) diff --git a/render/render_test.go b/render/render_test.go index 34bffdac..40ec806e 100755 --- a/render/render_test.go +++ b/render/render_test.go @@ -12,9 +12,8 @@ import ( "net/http" "net/http/httptest" "strconv" - "testing" - "strings" + "testing" "github.com/stretchr/testify/assert" "github.com/ugorji/go/codec"