// Given an HTTP status code, returns the corresponding status message.
Given an HTTP status code, returns the corresponding status message.
// Given an HTTP status code returns the corresponding status message .
func statusMsg(code int) string {
	if statusCodeOK(code) {
		return "OK"
	} else if code >= 600 {
		return http.StatusText(http.StatusInternalServerError)
	}
	return http.StatusText(int(code))
}
func statusMsg ( code int ) string { if statusCodeOK ( code ) { return " " } else if code >= 600 { return http . StatusText ( http . StatusInternalServerError ) } return http . StatusText ( int ( code ) ) }
Given an HTTP status code, returns the corresponding status message.
Given an HTTP status code returns the corresponding status message .