Go
19.5K subscribers
14 photos
143 links
// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)
Download Telegram
Good day 👋 I would like to share following 7 advices in short article by Kartik Khare how to increase your code quality in GoLang. Of course, before using it you should understand reasons for each advice in the post. As example Kartik writes:

#6 Use int as keys instead of strings in Map.

It’s a good way but here we can get optimization for optimization 🤔

#development #language

https://codeburst.io/how-to-optimise-your-go-code-c6b27d4f1452
Why are goroutines not lightweight threads?

Kartik Khare shows us his meaning about goroutines, lightweight threads and their difference in GoLang. There are no code examples inside but good thoughts about parallelism, threads and useful links at the end of the article :)

#development #runtime #language

https://codeburst.io/why-goroutines-are-not-lightweight-threads-7c460c1f155f
GoLang + Apache Kafka + Amazon Dynamo DB = ?
A quick-readable article about interesting way of a service architecture (eg. LocationRepository here is). Also in the end of this article you’ll find good links for further reading 😉

#architecture #examples #development

https://medium.com/@self.maurya/building-a-microservice-with-with-golang-kafka-and-dynamodb-part-i-552cc4816ff
A good reading list with a knowledge base about Golang, based on blog posts and Golang books. Inside of the link:
- 3 categories of stages: Beginner, Intermediate, Advanced;
- Common questions like “Why should you learn Go?” and “How to Write Go Code”
- Web, Concurrency, Code style, Testing and other GoLang related topics.

#language #development #basics

Add to bookmarks and enjoy the reading!

https://github.com/enocom/gopher-reading-list
👍2
Hello, there! One GoLang feature proposal about immutability is here 🙂
It’s a really interesting idea with pros and cons inside, it has a good explanation, use cases and examples for the following proposed changes: fields, arguments, variables, return values, methods reference types (Pointers, slices, maps, channels). This approach merits attention if you are interested in paths of GoLang development, so, have a good reading! 😉

#language #development

https://github.com/romshark/Go-1-2-Proposal---Immutability
Ok, I’m online again so Happy New Year for everyone 🎈
The first article that I want to share this year is about channels design in GoLang, their structure and internal operations. Enjoy the reading!

#development #language

https://codeburst.io/diving-deep-into-the-golang-channels-549fd4ed21a8
👍1
Errors in Go:
From denial to acceptance

Learn how to stop worrying and love error handling in Go. Author of Overmind and imgproxy describes his journey through all five stages of Kübler-Ross model—from denial to acceptance—as he went deeper into the language, and shares his favorite patterns for dealing with errors in Go code.

#development #language

https://evilmartians.com/chronicles/errors-in-go-from-denial-to-acceptance