Go
19.5K subscribers
14 photos
143 links
// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)
Download Telegram
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