Skip to content

change api due to go-etcd#46

Merged
xiang90 merged 3 commits intoetcd-io:masterfrom
xiang90:master
Aug 2, 2013
Merged

change api due to go-etcd#46
xiang90 merged 3 commits intoetcd-io:masterfrom
xiang90:master

Conversation

@xiang90
Copy link
Copy Markdown
Contributor

@xiang90 xiang90 commented Aug 2, 2013

No description provided.

etcd_test.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The pattern in go is usually New instead of Create. e.g. etcd.NewClient()

http://golang.org/doc/effective_go.html#composite_literals

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@philips done. I need to spend some read go documents. :)

@philips
Copy link
Copy Markdown
Contributor

philips commented Aug 2, 2013

LGTM!

xiang90 added a commit that referenced this pull request Aug 2, 2013
@xiang90 xiang90 merged commit 2225693 into etcd-io:master Aug 2, 2013
bmizerany pushed a commit to bmizerany/etcd-team that referenced this pull request Aug 25, 2014
StupidHod added a commit to StupidHod/jetcd that referenced this pull request Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants