-
Notifications
You must be signed in to change notification settings - Fork 49
Velan gremgo #49
base: master
Are you sure you want to change the base?
Velan gremgo #49
Conversation
…nged to IsConnected()
connection.go
Outdated
@@ -10,7 +10,8 @@ import ( | |||
|
|||
type dialer interface { | |||
connect() error | |||
isConnected() bool | |||
//Changed this method to Isconnected from isconnected to make it avail as public method |
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.
Remove this comment, the commit message already says what you have done, and the capitalization already gives an indication that the method is public.
connection.go
Outdated
@@ -72,8 +73,8 @@ func (ws *Ws) connect() (err error) { | |||
} | |||
return | |||
} | |||
|
|||
func (ws *Ws) isConnected() bool { | |||
//Changed this method to Isconnected from isconnected to make it avail as public method |
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.
Same as above.
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 have removed the comments as you mentioned above
Would be great if this was merged 🙌 |
Is tat above change get merged into master?? Still I couldn't see the changes in master, If its not yet merged can some one help me in merging this to master. |
Hi Team,
I have changed the isConnected function from the connection.go file to IsConnected() I mean to say I have made the isConnected function as public to make sure whether the my connection is successful or not.
Regards
velan