gin-gonic / gin
Showing 1 of 1 files from the diff.

@@ -7,6 +7,8 @@
Loading
7 7
import (
8 8
	"fmt"
9 9
	"net/http"
10 +
11 +
	"github.com/gin-gonic/gin/internal/bytesconv"
10 12
)
11 13
12 14
// String contains the given interface object slice and its format.
@@ -34,6 +36,6 @@
Loading
34 36
		_, err = fmt.Fprintf(w, format, data...)
35 37
		return
36 38
	}
37 -
	_, err = w.Write([]byte(format))
39 +
	_, err = w.Write(bytesconv.StringToBytes(format))
38 40
	return
39 41
}
Files Coverage
binding 100.00%
render 92.96%
auth.go 100.00%
context.go 97.51%
debug.go 92.50%
deprecated.go 100.00%
errors.go 100.00%
fs.go 100.00%
gin.go 99.01%
logger.go 100.00%
mode.go 100.00%
path.go 100.00%
recovery.go 97.18%
response_writer.go 93.33%
routergroup.go 100.00%
test_helpers.go 100.00%
tree.go 100.00%
utils.go 96.83%
Project Totals (41 files) 98.46%
4675.1
1.11.x=.11.x
TRAVIS_OS_NAME=linux
4675.3
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4675.6
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4675.2
TRAVIS_OS_NAME=linux
1.12.x=.12.x
4675.7
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4675.5
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4675.9
TRAVIS_OS_NAME=linux
master=
4675.8
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4673.4
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4673.3
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4673.2
TRAVIS_OS_NAME=linux
1.12.x=.12.x
4673.1
1.11.x=.11.x
TRAVIS_OS_NAME=linux
4673.6
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4673.5
1.14.x=.14.x
TRAVIS_OS_NAME=linux
4673.8
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4673.7
TRAVIS_OS_NAME=linux
1.15.x=.15.x
4675.4
1.13.x=.13.x
TRAVIS_OS_NAME=linux
4673.9
TRAVIS_OS_NAME=linux
master=
1
coverage:
2
  notify:
3
    gitter:
4
      default:
5
        url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.