Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Return entities as endpoints #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kasisnu
Copy link

@kasisnu kasisnu commented Feb 9, 2016

Addresses #19

@@ -132,8 +132,8 @@ type endpoint struct {
Port int `json:"port"`
}

func newEntity(host string, port int) *entity {
return &entity{
func NewEntity(host string, port int) *Entity {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason this method is exported?

Copy link
Author

Choose a reason for hiding this comment

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

good catch, that wasn't needed.

@kasisnu
Copy link
Author

kasisnu commented Feb 17, 2016

@paulmach Updated!

@kasisnu
Copy link
Author

kasisnu commented Mar 22, 2016

pings @paulmach for follow up. 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants