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
#development #practice #language
https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
Medium
Go Walkthrough: fmt
Templated formatting using the โfumptโ package.
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
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
Medium
Streaming IO in Go
In Go, input and output operations are achieved using primitives that model data as streams of bytes that can be read from or written toโฆ
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
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.
#practice #development #benchmarks
https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
Ardan Labs
Escape-Analysis Flaws
Ardan Labs is trusted by small startups and Fortune 500 companies to train their engineers and develop business software solutions and applications.
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
- 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
GitHub
GitHub - icexin/gocraft: A Minecraft like game written in go
A Minecraft like game written in go. Contribute to icexin/gocraft development by creating an account on GitHub.
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
#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
Medium
How to optimise your Go code
This article is a summary of what I learnt from Bjรถrn Rabensteinโs talk on this topic.
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
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
https://medium.com/@teo2k/go-clean-54c5cd866fe5
Medium
How to apply clean architecture principles to Golang micro-services
A full example of how applying clean architecture in Golang can lead to more maintainable and testable code
Top 6 web frameworks comparison by features, GitHub status, and design: Beego, Buffalo, Echo, Gin, Iris, Revel. Which is the better? :)
https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b
https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b
Medium
Top 6 web frameworks for Go as of 2017
You may not need a web framework if you design a small application for yourself, but if youโre going production then you definitely willโฆ
Hi ๐ there! This article is meant for those whoโre new to Go and want to start learning about Goโs concurrency primitives: go routines and channels.
#development #manual #basics
https://medium.com/@trevor4e/learning-gos-concurrency-through-illustrations-8c4aff603b3
#development #manual #basics
https://medium.com/@trevor4e/learning-gos-concurrency-through-illustrations-8c4aff603b3
Medium
Learning Goโs Concurrency Through Illustrations
Youโve most likely heard of Go in one way or another. Itโs been increasing in popularity, and for good reason. Go is fast, simple, and hasโฆ
โShould I Rust, or Should I Goโ - this is an article with a quick comparison of Golang and Rust code styles, features and conveniences of usage.
#language #development
https://codeburst.io/should-i-rust-or-should-i-go-59a298e00ea9
#language #development
https://codeburst.io/should-i-rust-or-should-i-go-59a298e00ea9
Medium
Should I Rust, or Should I Go
โShould I stay, or should I go?โ Great song by the band The Clash. Iโm listening to it, right now, while Iโm writing this article. The songโฆ
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 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
Medium
Building a microservice with Golang, Kafka and DynamoDB โ Part I
Making Golang and Kafka work together
Hi there! Which ways do you use to avoid memory leaks for REST API? In the following article by Iman Tumorang describes an excellent example of memory leaks, his solution, and results. Must have to read for everyone ๐
#development #runtime #architecture
https://hackernoon.com/avoiding-memory-leak-in-golang-api-1843ef45fca8
#development #runtime #architecture
https://hackernoon.com/avoiding-memory-leak-in-golang-api-1843ef45fca8
Hackernoon
Avoiding Memory Leak in Golang API | HackerNoon
A few weeks ago, we are in <a href="https://kurio.co" target="_blank">Kurio</a> just fixing our weird and undetected bug in our main services. We have tried so many ways to debugging and fixing it. The bug is not with the business logic. Because it has beenโฆ
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/
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/
JetBrains
Go in 2018 - The State of Developer Ecosystem by JetBrains
Over 250+ developers share their insights on modern Go programming. Keep up with the most relevant technologies and frameworks in this infographic!
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.
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
Generally I donโt like aliases but in some cases they might be helpful ๐
#development #basics
https://codeburst.io/learn-how-to-create-custom-bash-commands-in-less-than-4-minutes-6d4ceadd9590
#development #basics
https://codeburst.io/learn-how-to-create-custom-bash-commands-in-less-than-4-minutes-6d4ceadd9590
Medium
Learn how to create custom bash commands in less than 4 minutes
In this article I will teach you how you can create custom shortcuts (aliases) for bash commands, and also how you can run multipleโฆ
๐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
- 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
- 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
GitHub
GitHub - enocom/gopher-reading-list: A curated selection of blog posts on Go
A curated selection of blog posts on Go. Contribute to enocom/gopher-reading-list development by creating an account on GitHub.
๐2
100 lines of Go code for โฆ HTTP(S) proxy! Take a look at fast and graceful proxy service based on standard Go http server and client packages ๐
#development #practice
https://medium.com/@mlowicki/http-s-proxy-in-golang-in-less-than-100-lines-of-code-6a51c2f2c38c
#development #practice
https://medium.com/@mlowicki/http-s-proxy-in-golang-in-less-than-100-lines-of-code-6a51c2f2c38c
Medium
HTTP(S) Proxy in Golang in less than 100 lines of code
The goal is to implement a proxy server for HTTP and HTTPS. Handling of HTTP is a matter of parsing request, passing such request toโฆ
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
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
GitHub
GitHub - romshark/Go-1-2-Proposal---Immutability: A a Go 1/2 language feature proposal to immutability
A a Go 1/2 language feature proposal to immutability - romshark/Go-1-2-Proposal---Immutability
Hello, there! I would like to share with you one good comment about
https://github.com/golang/go/issues/25471#issuecomment-391906366
time.Sleep function and how it works in the Go Runtime:https://github.com/golang/go/issues/25471#issuecomment-391906366
GitHub
time: Sleep requires ~7 syscalls ยท Issue #25471 ยท golang/go
What version of Go are you using (go version)? go version go1.10.1 linux/amd64 Does this issue reproduce with the latest release? Yes (1.10.2). What operating system and processor architecture are ...
๐1
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
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
Medium
Diving Deep Into The Golang Channels.
An โins and outโ of the internal implementation of the Golang channels and its related operations.
๐1