Skip to content
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

Merged
merged 1 commit into from
Oct 28, 2013
Merged

Add name generator #2422

merged 1 commit into from
Oct 28, 2013

Conversation

vieux
Copy link
Contributor

@vieux vieux commented Oct 28, 2013

No description provided.

}

var (
colors = [...]string{"White", "Silver", "Gray", "Black", "Blue", "Green", "Cyan", "Yellow", "Gold", "Orange", "Brown", "Red", "Violet", "Pink", "Magenta", "Purple"}
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Member

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 ?

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see; apologies!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crosbymichael cyan_ant ?

@crosbymichael
Copy link
Contributor

it would be cool if the names where shipping related

)

type NameChecker interface {
IsTaken(name string) bool
Copy link
Contributor

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

vieux pushed a commit that referenced this pull request Oct 28, 2013
Add name generator for container without -name
@vieux vieux merged commit c066248 into links Oct 28, 2013
@vieux vieux deleted the links_names_generator branch October 28, 2013 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants