rename field

This commit is contained in:
kandrusyak
2023-07-28 00:35:44 +03:00
parent 0754c218cf
commit 8ee2bba74d

View File

@@ -3,16 +3,16 @@ package main
import (
"astra-file-storage/config"
uuid2 "github.com/google/uuid"
"github.com/labstack/echo/v4"
"io"
"net/http"
"os"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware"
)
type FileSuccess struct {
FileName string `json:"fileName"`
FileName string `json:"file_name"`
}
func upload(c echo.Context) error {