Registry /
cloud / aws-aws-sdk-go-v2-service-ecr
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.
ecr
✓ github.com/aws/aws-sdk-go-v2/service/ecr
Lists ECR repositories using the SDK client.
package main
import (
"context"
"fmt"
"github.com/aws/aws-sdk-go-v2/service/ecr"
)
func main() {
client := ecr.NewFromConfig(cfg) // cfg is an aws.Config
output, err := client.DescribeRepositories(context.TODO(), &ecr.DescribeRepositoriesInput{})
if err != nil {
panic(err)
}
fmt.Println(output.Repositories)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.58.4latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.