Created
July 26, 2019 00:48
-
-
Save ashkrit/843ebdd4c236b39019109306f6e01244 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| listener, listenError := net.ListenTCP("tcp", addr) | |
| if listenError != nil { | |
| return nil, fmt.Errorf("Listen: %s", listenError) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment