1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-11 01:01:00 +00:00

gofmt -s & go_vet

This commit is contained in:
astaxie
2015-03-19 22:29:01 -07:00
parent 1592e9c04d
commit 1d8afdc9c9
13 changed files with 239 additions and 240 deletions

View File

@ -292,7 +292,7 @@ func qpEscape(dest []byte, c byte) {
const nums = "0123456789ABCDEF"
dest[0] = '='
dest[1] = nums[(c&0xf0)>>4]
dest[2] = nums[(c&0xf)]
dest[2] = nums[(c & 0xf)]
}
// headerToBytes enumerates the key and values in the header, and writes the results to the IO Writer