In every single day, I usually think of posting something useful in GO🔥.
So then, I take my time to search for different useful resourse in GOlang🎁.
So far, I have encountered some useful resourse for myself as well💪.
I believe that it is a good way to push yourself further and learn something new🔥.
I have scheduled some great resourses, so stay tuned😍🤘.
So then, I take my time to search for different useful resourse in GOlang🎁.
So far, I have encountered some useful resourse for myself as well💪.
I believe that it is a good way to push yourself further and learn something new🔥.
I have scheduled some great resourses, so stay tuned😍🤘.
👍1
Structure size optimization in Golang.
I highly recommend to go through:
https://itnext.io/structure-size-optimization-in-golang-alignment-padding-more-effective-memory-layout-linters-fffdcba27c61
It is a simple thing that we(not everyone😊) miss in every single day.
I highly recommend to go through:
https://itnext.io/structure-size-optimization-in-golang-alignment-padding-more-effective-memory-layout-linters-fffdcba27c61
It is a simple thing that we(not everyone😊) miss in every single day.
Medium
Structure size optimization in Golang (alignment/padding). More effective memory layout (linters).
Today I would like to tell you about the alignment of structures in Golang.
🔥1
Hello 👋,
I believe that Clean Architecture in golang is one of best practices we need to try out😎.
Personally, I really like it 😊.
I have started to write my own repo. In the future, I would share it by covering with tests.
https://eltonminetto.dev/en/post/2020-07-06-clean-architecture-2years-later/
I believe that Clean Architecture in golang is one of best practices we need to try out😎.
Personally, I really like it 😊.
I have started to write my own repo. In the future, I would share it by covering with tests.
https://eltonminetto.dev/en/post/2020-07-06-clean-architecture-2years-later/
eltonminetto.dev
Clean Architecture, 2 years later
UPDATE: This post is old and no longer reflects what I believe to be an ideal structure for a project.
👍1
Hello Gophers,
I hope that you are all doing well!)
Whoever would like to find out more about Go Concurrency.
Post: https://itnext.io/explain-to-me-go-concurrency-worker-pool-pattern-like-im-five-e5f1be71e2b0
Book: https://www.amazon.com/_/dp/1491941197?tag=oreilly20-20
I hope that you are all doing well!)
Whoever would like to find out more about Go Concurrency.
Post: https://itnext.io/explain-to-me-go-concurrency-worker-pool-pattern-like-im-five-e5f1be71e2b0
Book: https://www.amazon.com/_/dp/1491941197?tag=oreilly20-20
Medium
Explain to me Go Concurrency Worker Pool Pattern like I’m five
An easy explanation about how all the components of this pattern work together to concurrently process a batch of jobs.
👍1
Hello Gophers,
Would you like to dig deeper into channels in golang?
Please, go ahead.
https://www.youtube.com/watch?v=KBZlN0izeiY&t=734s
Would you like to dig deeper into channels in golang?
Please, go ahead.
https://www.youtube.com/watch?v=KBZlN0izeiY&t=734s
YouTube
GopherCon 2017: Kavya Joshi - Understanding Channels
Channels provide a simple mechanism for goroutines to communicate, and a powerful construct to build sophisticated concurrency patterns. We will delve into the inner workings of channels and channel operations, including how they're supported by the runtime…
👍1🔥1
I really like the updated version of Telegram, enjoy it.
👍5
Every positive integer can be decomposed into a product of primes!
84=2^2 *3^1*5^0*7^1 *11^0 *13^0 *17^0 ……
84=2^2 *3^1*5^0*7^1 *11^0 *13^0 *17^0 ……
Hello again,
After a year, I would like to share one of the top blog posts by Uber engineers.
As Uber mainly uses Golang, there are a lot to get.
https://eng.uber.com/category/articles/architecture
After a year, I would like to share one of the top blog posts by Uber engineers.
As Uber mainly uses Golang, there are a lot to get.
https://eng.uber.com/category/articles/architecture
👍5
Hello everyone,
There are two common situations where
• When you need to set up data in an external repository, such as a database
• When the code being tested depends on package-level variables that need to be initialized
reference: Link
There are two common situations where
TestMain
is useful:• When you need to set up data in an external repository, such as a database
• When the code being tested depends on package-level variables that need to be initialized
reference: Link
👍1
Hello Everyone!
I hope that you all know about
If not, please, refer: Link
Besides, that we have a cool thirty-party module by google.
I hope that you all know about
reflect.DeepEqual
, right?If not, please, refer: Link
Besides, that we have a cool thirty-party module by google.
Stack Overflow
How to compare if two structs, slices or maps are equal?
I want to check if two structs, slices and maps are equal.
But I'm running into problems with the following code. See my comments at the relevant lines.
package main
import (
"fmt"
"refl...
But I'm running into problems with the following code. See my comments at the relevant lines.
package main
import (
"fmt"
"refl...
👍1
Hello)
A few subscribers would like to learn docker.
https://docs.docker.com/get-started/resources/
Here we go)
A few subscribers would like to learn docker.
https://docs.docker.com/get-started/resources/
Here we go)
Docker Documentation
Educational resources
Get started resources learning docker
👍1