initial commit

This commit is contained in:
m.zare
2026-04-10 18:25:21 +03:30
commit 77ca6c34a3
263 changed files with 34470 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package azblob
import (
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/rs/zerolog"
"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
)
func New(logger zerolog.Logger, cred *azidentity.DefaultAzureCredential) (*azblob.Client, error) {
client, err := azblob.NewClientFromConnectionString("", nil)
if err != nil {
logger.Error().Err(err).Msg("failed to create azure blob storage client")
return nil, err
}
return client, nil
}