Go is an open source programming language designed for building scalable, secure and reliable software. Please read theofficial documentation to learn more.
Go by Example is a hands-on introduction to Go using annotated example programs. Check out thefirst example or browse the full list below.
Unless stated otherwise, examples here assume thelatest major release Go and may use new language features. Try to upgrade to the latest version if something isn't working.