filmov
tv
Copilot Demo using VS Code

Показать описание
Using Github Copilot to create a TCP server in Go.
Other than starting the first few characters of first line of the first function, everything else was suggested by Copilot, which I accepted. When done, I simply compiled it and it was a complete TCP server at port 8080 that echoed whatever I sent it. I used nc to test the server and it works nicely.
Other than starting the first few characters of first line of the first function, everything else was suggested by Copilot, which I accepted. When done, I simply compiled it and it was a complete TCP server at port 8080 that echoed whatever I sent it. I used nc to test the server and it works nicely.