func (t *TeamsService) RemoveMembership(uri *Hyperlink, uriParams M) (success bool, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamMembershipURL, uriParams)
	if err != nil {
		return false, &Result{Err: err}
	}
	result = t.client.delete(url, nil, nil)
	success = (result.Response.StatusCode == 204)
	return
}
RemoveMembership removes a user from a given Team.

https://developer.github.com/v3/orgs/teams/#remove-team-membership
package octokit
import "github.com/jingweno/go-sawyer/hypermedia"
var (
	OrganizationTeamsURL = Hyperlink("/orgs/{org}/teams")
	TeamURL              = Hyperlink("/teams/{id}")
	TeamMembersURL       = Hyperlink("/teams/{id}/members")
	TeamMembershipURL    = Hyperlink("/teams/{id}/memberships/{username}")
	TeamRepositoriesURL  = Hyperlink("/teams/{id}/repos")
	TeamRepositoryURL    = Hyperlink("/teams/{id}/repos/{owner}/{repo}")
	CurrentUserTeams     = Hyperlink("/user/teams")  
)
func (c *Client) Teams() (team *TeamsService) {
	team = &TeamsService{client: c}
	return
}
type TeamsService struct {
	client *Client
}
func (t *TeamsService) One(uri *Hyperlink, uriParams M) (
	team Team, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamURL, uriParams)
	if err != nil {
		return Team{}, &Result{Err: err}
	}
	result = t.client.get(url, &team)
	return
}
func (t *TeamsService) All(uri *Hyperlink, uriParams M) (
	teams []Team, result *Result) {
	url, err := ExpandWithDefault(uri, &OrganizationTeamsURL, uriParams)
	if err != nil {
		return []Team(nil), &Result{Err: err}
	}
	result = t.client.get(url, &teams)
	return
}
func (t *TeamsService) Create(uri *Hyperlink, input TeamParams,
	uriParams M) (team Team, result *Result) {
	url, err := ExpandWithDefault(uri, &OrganizationTeamsURL, uriParams)
	if err != nil {
		return Team{}, &Result{Err: err}
	}
	result = t.client.post(url, input, &team)
	return
}
func (t *TeamsService) Update(uri *Hyperlink, input TeamParams,
	uriParams M) (team Team, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamURL, uriParams)
	if err != nil {
		return Team{}, &Result{Err: err}
	}
	result = t.client.patch(url, input, &team)
	return
}
func (t *TeamsService) Delete(uri *Hyperlink, uriParams M) (success bool, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamURL, uriParams)
	if err != nil {
		return false, &Result{Err: err}
	}
	result = t.client.delete(url, nil, nil)
	success = (result.Response.StatusCode == 204)
	return
}
func (o *OrganizationService) GetTeams(uri *Hyperlink, uriParams M) (
	teams []Team, result *Result) {
	return o.client.Teams().All(&OrganizationTeamsURL, uriParams)
}
func (t *TeamsService) Get(uri *Hyperlink, uriParams M) (
	team Team, result *Result) {
	return t.One(&TeamURL, uriParams)
}
func (t *TeamsService) GetMembers(uri *Hyperlink, uriParams M) (
	members []User, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamMembersURL, uriParams)
	if err != nil {
		return []User(nil), &Result{Err: err}
	}
	return t.client.Users(url).All()
}
func (t *TeamsService) GetMembership(uri *Hyperlink, uriParams M) (
	membership TeamMembership, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamMembershipURL, uriParams)
	if err != nil {
		return TeamMembership{}, &Result{Err: err}
	}
	result = t.client.get(url, &membership)
	return
}
func (t *TeamsService) AddMembership(uri *Hyperlink, uriParams M, role string) (
	membership TeamMembership, result *Result) {
	url, err := ExpandWithDefault(uri, &TeamMembershipURL, uriParams)
	if err != nil {
		return TeamMembership{}, &Result{Err: err}
	}
	result = t.client.put(url, M{"role": role}, &membership)
	return
}