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 ( import (
"astra-file-storage/config" "astra-file-storage/config"
uuid2 "github.com/google/uuid" uuid2 "github.com/google/uuid"
"github.com/labstack/echo/v4"
"io" "io"
"net/http" "net/http"
"os" "os"
"github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware" "github.com/labstack/echo/v4/middleware"
) )
type FileSuccess struct { type FileSuccess struct {
FileName string `json:"fileName"` FileName string `json:"file_name"`
} }
func upload(c echo.Context) error { func upload(c echo.Context) error {