Remove test.go to make SDK importable

This commit is contained in:
ywlmac
2026-05-13 15:07:23 +08:00
parent 4165c3dfbe
commit 326e5797ba
+1 -1
View File
@@ -372,7 +372,7 @@ func UploadCertificatePNGToCOS(ctx context.Context, pngBytes []byte, defaultObje
_, err = client.Object.Put(ctx, objectKey, bytes.NewReader(pngBytes), &cos.ObjectPutOptions{
ObjectPutHeaderOptions: &cos.ObjectPutHeaderOptions{
ContentType: "image/png",
ContentLength: len(pngBytes),
ContentLength: int64(len(pngBytes)),
CacheControl: "public, max-age=31536000, immutable",
},
})