14 lines
320 B
Go
14 lines
320 B
Go
package mongodbatlas
|
|
|
|
func isOrgKey(orgID, projectID string) bool {
|
|
return len(orgID) > 0 && len(projectID) == 0
|
|
}
|
|
|
|
func isProjectKey(orgID, projectID string) bool {
|
|
return len(orgID) == 0 && len(projectID) > 0
|
|
}
|
|
|
|
func isAssignedToProject(orgID, projectID string) bool {
|
|
return len(orgID) > 0 && len(projectID) > 0
|
|
}
|