this repo contains programs that will be helpful to get a good grasp on the basics of go. a few ones to start with:
- mycat: contains a minimal implementation of the
catcommand line utility - mywc: contains a minimal implementation of the
wcutility for counting words, lines and bytes - parallel-wc: contains a parallel implementation of the
wcutility for counting words, lines and bytes using goroutines and channels - smol-collisions: contains a simple example of race condition in go
- webscraper: given a list of urls, fetch them all concurrently and print http status code + response size of each
- chatserver-0: minimal implementation of a server that echoes back messages to the clients that sent them
- chatserver-1: a server that listens to N clients and broadcasts a message sent by one user to all other currently active connections in the room
(will add more as i keep building)