14 lines
248 B
Go
14 lines
248 B
Go
package minioDB
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/minio/minio-go/v7"
|
|
)
|
|
|
|
func (c *client) Remove(
|
|
fileName, bucketName string,
|
|
) error {
|
|
return c.minioClient.RemoveObject(context.Background(), bucketName, fileName, minio.RemoveObjectOptions{})
|
|
}
|