From 27cc74b1193ebe6e9dd6f97370215ba59bb7a865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?France=CC=81=20Wilke?= <francewilke@gmail.com> Date: Fri, 26 Nov 2021 15:49:00 +0200 Subject: [PATCH] Add s3 mime types --- s3/s3.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/s3/s3.go b/s3/s3.go index 40ada57..7bb8799 100644 --- a/s3/s3.go +++ b/s3/s3.go @@ -48,6 +48,14 @@ const ( // MIMETypeDefault defines the constant for the default MIME type. MIMETypeDefault MIMEType = "application/octet-stream" + + // TypeXLS defines the constant for the XLS MIME type. + MIMETypeXLS MIMEType = "application/vnd.ms-excel" + + // TypeXLSX defines the constant for the XLSX MIME type. + MIMETypeXLSX MIMEType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" + + ) type SessionWithHelpers struct { -- GitLab