Go
19.5K subscribers
14 photos
143 links
// admin @denniselite
go func() { channel <- news }()
news := <-channel
fmt.Sprintf("%s", news)
Download Telegram
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
Hi, there! I found one interesting topic, which calls

The State of Developer Ecosystem Survey in 2018

Here is a whole report about GoLang usage by Jetbrains company includes frameworks, libraries and testing analytics. You are also able to pick another languages and technologies because this report contains only to the developers who chose Go as one of their three primary programming languages.

#reports #language

https://www.jetbrains.com/research/devecosystem-2018/go/
Go via @vote
Hi there! ๐Ÿ‘‹ After that Jetbrains report Iโ€™ve decided to make a quiz and ask you about GoLang frameworks ๐Ÿ˜€ So, which HTTP framework do you use or recommend for usage?
public poll

Gin โ€“ 278
๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘ 54%

Other โ€“ 82
๐Ÿ‘๐Ÿ‘ 16%

Echo โ€“ 65
๐Ÿ‘๐Ÿ‘ 13%

FastHTTP โ€“ 38
๐Ÿ‘ 7%

Iris โ€“ 27
๐Ÿ‘ 5%

Beego โ€“ 23
๐Ÿ‘ 4%

Martini โ€“ 6
โ–ซ๏ธ 1%

๐Ÿ‘ฅ 519 people voted so far.
๐Ÿ‘1
Hi there ๐Ÿ‘‹ How to increase your GoLang application performance to more than 20x? Here is a list of tips, tricks and hacks which have been used for a 23x performance power! Within this article you will know more about:

- benchmarks and tracing;
- sometimes parallelism is not a perfect solution for each case;
- how to tune your app step-by-step and other interesting topics ๐Ÿ™‚
Just open it and deep into GoLang performance refactoring!

https://medium.com/@val_deleplace/go-code-refactoring-the-23x-performance-hunt-156746b522f7?source=linkShare-b636419a57de-1532816321
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