-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add name generator #2422
Add name generator #2422
Conversation
} | ||
|
||
var ( | ||
colors = [...]string{"White", "Silver", "Gray", "Black", "Blue", "Green", "Cyan", "Yellow", "Gold", "Orange", "Brown", "Red", "Violet", "Pink", "Magenta", "Purple"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think names should all start with lowercase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I did this because I think CyanAnt
is easier to remember/type than cyanant
but I can change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using a hyphen? cyan-ant
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As solomon said, copy past via double click on with a mouse won't work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see; apologies!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@crosbymichael cyan_ant
?
it would be cool if the names where shipping related |
) | ||
|
||
type NameChecker interface { | ||
IsTaken(name string) bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change this to Exists? The gograph already has an method Exists(name string) bool
Add name generator for container without -name
No description provided.