Change MimeTypes constants visibility

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
Evgeniy Kulikov 2020-08-22 05:32:48 +03:00
parent c9ea63f8ab
commit cd2cca8fb3

View file

@ -90,12 +90,11 @@ const (
// SlashSeparator - slash separator. // SlashSeparator - slash separator.
SlashSeparator = "/" SlashSeparator = "/"
// Means no response type. // MimeNone means no response type.
mimeNone mimeType = "" MimeNone mimeType = ""
// Means response type is JSON.
// mimeJSON mimeType = "application/json" // MimeXML means response type is XML.
// Means response type is XML. MimeXML mimeType = "application/xml"
mimeXML mimeType = "application/xml"
) )
var _ = logErrorResponse var _ = logErrorResponse