Created
July 22, 2022 20:35
-
-
Save khayyamsaleem/7c177677b15758cd1cda4161c6e0ed2b to your computer and use it in GitHub Desktop.
test server scaffold
This file contains 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
addr, err := net.ResolveTCPAddr("tcp", ":8000") | |
if err != nil { | |
panic(err) | |
} | |
ln, err := net.ListenTCP("tcp", addr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment