Registry /
cloud / azure-azure-storage-file-go
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
file
✓ github.com/Azure/azure-storage-file-go
Get properties of an Azure file share.
package main
import (
"context"
"fmt"
"github.com/Azure/azure-storage-file-go/azfile"
)
func main() {
credential, _ := azfile.NewSharedKeyCredential("account", "key")
pipeline := azfile.NewPipeline(credential, azfile.PipelineOptions{})
url := "https://account.file.core.windows.net/share"
shareURL := azfile.NewShareURL(url, pipeline)
props, _ := shareURL.GetProperties(context.Background(), azfile.ShareGetPropertiesOptions{})
fmt.Println(props)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.8.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.