code: func (s *OrganizationsService) GetOrgMembership(ctx context.Context, user, org string) (*Membership, *Response, error) {
  	var u string
  	if user != "" {
  		u = fmt.Sprintf("orgs/%v/memberships/%v", org, user)
  	} else {
  		u = fmt.Sprintf("user/memberships/orgs/%v", org)
  	}
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	membership := new(Membership)
  	resp, err := s.client.Do(ctx, req, membership)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return membership, resp, nil
  }
docs: // GetOrgMembership gets the membership for a user in a specified organization.
  // Passing an empty string for user will get the membership for the
  // authenticated user.
  //
  // GitHub API docs:
  // https://developer.github.com/v3/orgs/members/#get-organization-membership
  // https://developer.github.com/v3/orgs/members/#get-your-organization-membership