rename field
This commit is contained in:
4
main.go
4
main.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user