1
0

Replaced logging.Logger with std log.Logger.

This commit is contained in:
Alexander Andreev 2023-05-25 02:22:56 +04:00
parent 59544da625
commit 3327b30d12
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -2,7 +2,6 @@ package http
import (
"crypto/sha256"
"dwelling-upload/pkg/logging"
"dwelling-upload/pkg/utils"
"dwelling-upload/web"
"encoding/base64"
@ -19,7 +18,7 @@ import (
)
type UploadHandlers struct {
logFile *logging.Logger
logFile *log.Logger
uploadDir string
uploadDirSize *int64
@ -31,7 +30,7 @@ type UploadHandlers struct {
limitFileSize int64
}
func NewUploadHandlers(lFile *logging.Logger, uploadDir string, uploadDirSize *int64,
func NewUploadHandlers(lFile *log.Logger, uploadDir string, uploadDirSize *int64,
hashSalt string, keepForHours int, limStorage, limFileSz int64) *UploadHandlers {
return &UploadHandlers{
logFile: lFile,