,_---~~~~~----._
_,,_,*^____ _____``*g*\"*,
/ __/ /' ^. / \ ^@q f
[ @f | @)) | | @)) l 0 _/
\`/ \~____ / __ \_____/ \
| _l__l_ I
} [______] I
] | | | |
] ~ ~ |
| |
| |
This is a repository that I collect the Go source code that I play with from time to time.
Well… I deleted them because I wanted a fresh start.
You can browse the this repo’s history if you’re curious.
The folder structure is a mess, to be honest :).
Typically, every root-level folder contains a self-sufficient project with
a main()
function that you can run on its own. There’s not much comments
(sorry) and not much documentation (sorry again) to explain what’s going on.
But the examples are small, and contained enough that you can reason about
by simply reading the source code or tracing and debugging it.
There’s also an ./archive
folder that I sweeped older code to be revised under
the rug.
Best way to navigate the code is to clone the repo and use your IDE’s search feature to find stuff that you are interested in.
I’m distributing this codebase under an MIT License unless otherwise notified.
The code you see here is all written by me; however, some of the files are either direct copies, or slight variations of publicly-available examples from various books’ source code repositories; blogs, tutorials, websites and articles; and other resources including but not limited to the following:
- Go Official Website
- Programming in Go: Creating Applications for the 21st Century
- Concurrency in Go
- Introducing Go: Build Reliable, Scalable Programs
- The Go Programming Language
- A Tour of Go
- Effective Go
- … more to come …
I don’t spend too much time in this repo, and I don’t have time to keep the attribution list up-to-date.
It’s also not an easy task becuase some of the examples are so generic and canonical that you can find in multiple resources in more-or-less identical forms, and some of the examples are my personal take on existing samples and they have deviated so much from their original form that it is hard to discern whether it is derived work.
If you are the author of some of the examples here that I’ve forgotten to give proper attribution to, or if you have special licensing requirements, or if you want your code to be updated or removed from this repo, please send me an email and I’ll take care of it as soon as I can.
Thanks,
And may the source be with you,
Volkan 🦄.