Upload image to MinIO
I want to upload image with format .png to MinIo. But I have problem with error not find directory Error: open /sensors/download (1).png: no such file or directory I have created a directory file with sensor name inside minio bucket named ems_service. Like this code I wrote to upload an image file using Go with Minio ctx := context.Background() endpoint := config.MINIO_ENDPOINT accessKeyID := config.MINIO_ID secretAccessKey := config.MINIO_KEY useSSL := true contentType := "image/png" location := "us-east-1" utilities.Info.Printf("secret access key: %+v", secretAccessKey) utilities.Info.Printf
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.