update error(err) to err (#1416)

the pull request update `return error(err)` to `return err`, and remove `kindOfData`.
This commit is contained in:
田欧
2018-07-01 21:10:48 +08:00
committed by Bo-Yi Wu
parent eb9f313144
commit cdd02fa9d6
2 changed files with 10 additions and 14 deletions

View File

@ -4,10 +4,9 @@
package binding
import (
"net/http"
)
import "net/http"
// Content-Type MIME of the most common data formats.
const (
MIMEJSON = "application/json"
MIMEHTML = "text/html"