Fix lint issues

This commit is contained in:
DarthSim
2019-06-04 17:03:03 +06:00
parent a9244a7063
commit 69594894a0
3 changed files with 7 additions and 9 deletions

View File

@@ -7,9 +7,9 @@ package main
import "C"
import (
"path/filepath"
"fmt"
"net/url"
"path/filepath"
"strings"
)
@@ -71,9 +71,9 @@ func (it imageType) String() string {
func (it imageType) Mime() string {
if mime, ok := mimes[it]; ok {
return mime
} else {
return "application/octet-stream"
}
return "application/octet-stream"
}
func (it imageType) ContentDisposition(imageURL string) string {