code: func (s *AuthorizationsService) ListGrants(ctx context.Context, opt *ListOptions) ([]*Grant, *Response, error) {
  	u, err := addOptions("applications/grants", opt)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	grants := []*Grant{}
  	resp, err := s.client.Do(ctx, req, &grants)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return grants, resp, nil
  }
docs: // ListGrants lists the set of OAuth applications that have been granted
  // access to a user's account. This will return one entry for each application
  // that has been granted access to the account, regardless of the number of
  // tokens an application has generated for the user.
  //
  // GitHub API docs: https://developer.github.com/v3/oauth_authorizations/#list-your-grants