unexport fileInfo

This commit is contained in:
Henrique Dias committed 2017-06-25 13:03:59 +01:00
1 parent 1ba9608a9c
commit e6492286db
8 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ import (
)
// checksum calculates the hash of a file. Supports MD5, SHA1, SHA256 and SHA512.
func checksum(w http.ResponseWriter, r *http.Request, i *FileInfo) (int, error) {
func checksum(w http.ResponseWriter, r *http.Request, i *fileInfo) (int, error) {
query := r.URL.Query().Get("checksum")
file, err := os.Open(i.Path)