Versions in this module Expand all Collapse all v1 v1.0.8 Feb 23, 2023 Changes in this version + var ErrGraphQLNotFound = errors.New("GraphQL resource not found") + func BatchQuery(ctx context.Context, c *Client, queries map[string]string, vars map[string]any) (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() *githubv4.Client + func (c *Client) Rest() *github.Client + 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/v2