This is a collection mini golang projects to practise go programming.
sub-directory | comment |
---|---|
cmd | CLI programs |
fibonacci | calculate fibonacci series |
sqrt | calculate square root w/ Newton method |
switch | simple switch statement example |
prime | sieve first n number of prime |
sorting | Sort interface demos |
http | Showcase http.Hanlder interface |
eval | Showcase basic arithmetic expression |
surface | Showcase surface generated by arithmetic expression |
clock | Showcase goroutines |
echo | Showcase concurrent echo server |
pipeline | Showcase using chan to make pipeline |
thumnail | Showcase using chan to make parallel loop |
crawl | Showcase parallel web crawller |
countdown | Showcase count down using io multiplex w/ select |
du | Showcase parallel disk usage counting |
chat | Showcase chat server w/ goroutine & channel |
stall | Showcase routine stall due to endless loop |
zap | Showcase logging w/ zap |
excelize | Showcase excel processing w/ excelize |
grpc | Simple gRPC example w/ reflection and health check |
freecache | Simple cache exmaple |
mongo | Simple example to access mongodb |
cpuid | Simple example to detect cpu features |
nic | Explore net interface card APIs |
ldflags-ver | Using ldflags to set version for oo applications |