Go
19.5K subscribers
14 photos
143 links
// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)
Download Telegram
I hope everyone knows about the latest GoLang release 1.10. If it isn’t than here is an article with top interesting and important changes and improvements which have been released in a new version of GoLang. Fast reading about 8 mins 😉

#language #development #releases

https://medium.com/@thuc/whats-changes-in-golang-1-10-d3022fbade3c?source=linkShare-b636419a57de-1519654220
Simple and good for understanding tutorial about Golang’s channels. It can help beginners to meet with them and learn to use it without problems 🙂
Keys of the article:
- What is a channel, goals, and functions of it;
- Deadlocks and other problems;
- Channel ranging and closing. When, why and how?

#development #basics #language

https://guzalexander.com/2013/12/06/golang-channels-tutorial.html
A new post about concurrency and synchronization cases in GoLang. Michał Łowicki tells us about buffered channels and how it can help with some concurrency problems.

#development #manual


https://medium.com/golangspec/reusable-barriers-in-golang-156db1f75d0b
Top GoLang features that you don’t know or don’t hear so much 🙂 If you want some main points of this article they are here:

- GoDoc;
- Static code analysis;
- Built-in testing and profiling framework;
- Race condition detection;
- Learning curve;
- Reflection;
- Opinionatedness;
- Culture.

#manual #development #basics #language

https://medium.freecodecamp.org/here-are-some-amazing-advantages-of-go-that-you-dont-hear-much-about-1af99de3b23a?source=linkShare-b636419a57de-1520768034
How to work and use field tags in GoLang? Inside of this article Michał Łowicki from Opera company explains basics and features of tagging; include examples and best practices 🙂

#development #practice #basics

https://medium.com/golangspec/tags-in-golang-3e5db0b8ef3e
One more cool article about the fmt package: io.reader, printf, println functions, formatters, work with strings and STDIN. All that you want to know, but were afraid to ask about the output printing process in GoLang 🙂

#development #practice #language

https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
I continue to looking for interesting articles about the IO package and today I’ve found one more good post in last Medium Digest by Vladimir Vivien from Kubernates. It calls “IO Streaming в GoLang”.
Main points of it:
- A structure and internal processes of io.Reader and io.Writer;
- Custom implementations of them;
- Useful types and packages for IO(os.File, os.Stdout, os.Stdin, and os.Stderr, io.Copy(), etc);
- Pipe writers and readers.

This article is completely of technical info, examples and illustrations 😀 Enjoy reading 📖!

#language #development #practice

https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185
Here is not new but interesting article about an escape analysis, pprof and debugging GoLang applications. Inside of post:
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.

#practice #development #benchmarks

https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
Hi there 👋 and have a good weekend to everyone! I like to share some interesting pet projects and one of them calls GoCraft. Here is an GoLang implementation of famous Minecraft game 🙂 and it has some features:

- Basic terrain generation
- Add and Remove blocks.
- Move and fly.

#news #games #development

System requirements from Readme are:
macOS, Ubuntu/Debian-like Linux, CentOS/Fedora-like Linux but I think you are able to try to launch it on Windows if you want 😉


https://github.com/icexin/gocraft
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
Great article about the Clean architecture implementation for a GoLang micro service with code examples and theory explanations. If you still think about architecture best practices - it would be very interesting for you 😉

https://medium.com/@teo2k/go-clean-54c5cd866fe5
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