Versions in this module Expand all Collapse all v2 v2.0.4 Apr 30, 2024 v2.0.3 Mar 17, 2024 Changes in this version + const DefaultGraphQLEndpoint + var ErrGraphQLForbidden = errors.New("GraphQL access forbidden") + var ErrGraphQLNotFound = errors.New("GraphQL resource not found") + func BatchQuery[T any](ctx context.Context, c *Client, queries map[string]string) (map[string]T, error) + func ErrorResponseStatusCode(err error) int + func NewRetryRoundTripper(rt http.RoundTripper, logger *zap.Logger) http.RoundTripper + type Client struct + func NewClient(client *http.Client) *Client + func (c *Client) GraphQL() *graphql.Client + func (c *Client) Rest() *github.Client + type GitTimestamp struct + type GraphQLError struct + Locations []struct{ ... } + Message string + Type string + type GraphQLErrors struct + func (e *GraphQLErrors) Error() string + func (e *GraphQLErrors) Errors() []GraphQLError + func (e *GraphQLErrors) HasType(t string) bool + func (e *GraphQLErrors) Is(target error) bool Other modules containing this package github.com/ossf/criticality_score