This commit is contained in:
kim
2020-07-31 17:11:59 +08:00
parent 2f4505d856
commit 44290aa4d6
3 changed files with 3 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ func Error(w http.ResponseWriter, err error) {
}
func Ok(w http.ResponseWriter) {
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
w.WriteHeader(http.StatusOK)
}