Примеры и решения на языке GO
Всегда под рукой примеры для быстрых решений
Golang
The Go programming language is an open source project to make programmers more productive.
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It’s a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
In addition to the resources availableat golang.orgthere are a range of community-driven initiatives:
- Books (online):
- The Little Go Book The Little Go Book is a free introduction to Google’s Go programming language. It’s aimed at developers who might not be quite comfortable with the idea of pointers and static typing. It’s longer than the other Little books, but hopefully still captures that little feeling.
- Books (paper):
- Go in Action : Go in Action introduces the Go language, guiding you from inquisitive developer to Go guru. The book begins by introducing the unique features and concepts of Go. Then, you’ll get hands-on experience writing real-world applications including websites and network servers, as well as techniques to manipulate and convert data at speeds that will make your friends jealous.
- The Way to Go: A Thorough Introduction to the Go Programming Language : Pros - Book is very relevant and up-to-date, well-structured (maybe too well-structured at times), covers virtually everything in Go language, has a myriad of useful code examples. Cons - Author is not a native speaker and it shows. At times it is a bit hard to understand his writing - proofreading was definitely needed.
- Introducing Go: Build Reliable, Scalable Programs : Perfect for beginners familiar with programming basics, this hands-on guide provides an easy introduction to Go, the general-purpose programming language from Google. Author Caleb Doxsey covers the language’s core features with step-by-step instructions and exercises in each chapter to help you practice what you learn.
- The Go Programming Language
: The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you’ll find it accessible whether you’re most comfortable with JavaScript, Ruby, Python, Java, or C++.
- Videos
- GoingGo.net - A collection of videos and articles for learning Go.
- O’Reilly Go Fundamentals - Video learning path for Go programming.
- Learn Go in an Hour Learn the go programming language in one hour.
- Learning to Program in Go - a multi-part video training class.
- Exercises:
- Exercism.io - Go - Online code exercises for Go for practice and mentorship.
- Outlearn.com - Jump right into Go with a tour, helpful examples, sample app, and common pitfalls.
- The Go Bridge Foundry - A member of the Bridge Foundry family, offering a complete set of free Go training materials with the goal of bringing Go to under-served communities.
- Go Fragments - A collection of annotated Go code examples.
- Golang Tutorials - A free online class.
- Learn Go in Y minutes is a top-to-bottom walk-through of the language.
- Go By Example - Go by Example is a hands-on introduction to Go using annotated example programs. Check out the first example or browse the full list below.
- Pluralsight Classes for Go - A growing collection of (paid) online classes.
- Workshops:
- Free Go Language Workshop Framework Training is running regular free BYOD workshops in London, UK
- Workshop-Go - Startup Slam Go Workshop - examples and slides.
- Learning resources for specific topics:
- LearnConcurrency outlines a course of study of Go’s concurrency model and patterns.
- LearnErrorHandling links to resources about error handling in Go.
- LearnTesting links to resources about testing in Go.
- LearnServerProgramming links to resources about server programming in Go.
- Further reading:
- 50 Shades of Go: Traps, Gotchas, Common Mistakes for New Golang Devs
- Newspaper is a topic based newsfeed for slack. Built on Go
Exercism provides exercises and feedback but can be difficult to jump into for those learning Go for the first time. These resources can help you get started:
- A Tour of Go
- Go By Example
- Effective Go
- Go Language Specification
- Go Standard Library
- Go Resources
- StackOverflow
- Awesome Go : E-Books and Tutorials
There are many great free online resources to help you get started with Go including: