code: func SplitScopeString(scopestring string) (scopeList []string) {
  	scopeList = []string{}
  	for _, value := range strings.Split(scopestring, ",") {
  		scope := strings.TrimSpace(value)
  		if scope != "" {
  			scopeList = append(scopeList, scope)
  		}
  	}
  	return
  }
docs: //SplitScopeString takes a comma seperated string representation of scopes and returns it as a slice