// Gets information about one or more repositories.
Gets information about one or more repositories.
// Gets information about one or more repositories .
func (c *Client) ListRepositories(ctx context.Context, params *ListRepositoriesInput, optFns ...func(*Options)) (*ListRepositoriesOutput, error) {
	if params == nil {
		params = &ListRepositoriesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListRepositories", params, optFns, addOperationListRepositoriesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListRepositoriesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListRepositories ( ctx context . Context , params * ListRepositoriesInput , optFns ... func ( * Options ) ) ( * ListRepositoriesOutput , error ) { if params == nil { params = & ListRepositoriesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListRepositoriesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListRepositoriesOutput ) out . ResultMetadata = metadata return out , nil }
Gets information about one or more repositories.
Gets information about one or more repositories .