// Update updates existing label on github repository
Update updates existing label on github repository
// Update updates existing label on github repository
func (label *Label) Update(token string) {
	url := fmt.Sprintf("/repos/%v/%v/labels/%v?access_token=%v", label.Information.Organisation, label.Information.Repository, label.Name, token)
	if err := network.PatchJSON(url, label); err != nil {
		fmt.Printf("Error creating label %v for repository %v : %v\n", label.Name, label.Information.Repository, err)
	}
}
func ( label * Label ) Update ( token string ) { url := fmt . Sprintf ( " " , label . Information . Organisation , label . Information . Repository , label . Name , token ) if err := network . PatchJSON ( url , label ) ; err != nil { fmt . Printf ( " \n " , label . Name , label . Information . Repository , err ) } }
Update updates existing label on github repository
Update updates existing label on github repository