label_sync/main.go
func GetOrg(org string) (string, bool) {
	data := strings.Split(org, ":")
	if len(data) == 2 && data[0] == "user" {
		return data[1], true
	}
	return org, false
}
func GetOrg(org string) (string, bool) {
	data := strings.Split(org, ":")
	if len(data) == 2 && data[0] == "user" {
		return data[1], true
	}
	return org, false
}
func GetOrg ( org string ) ( string , bool ) { data := strings . Split ( org , " " ) if len ( data ) == 2 && data [ 0 ] == " " { return data [ 1 ] , true } return org , false }
// GetOrg returns organization from "org" or "user:name"
// Org can be organization name like "kubernetes"
// But we can also request all user's public repos via user:github_user_name
GetOrg returns organization from org or user : name Org can be organization name like kubernetes But we can also request all user s public repos via user : github_user_name