Golang drawer
@golang101
175
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
175 subscribers
Golang drawer
https://dev.to/bjhaid_93/switching-from-javascript-to-golang-15km
DEV Community
Switching from JavaScript to Golang
Image Source Coming from a JavaScript background, I have always wanted to learn a static-typed progra...
Golang drawer
https://qvault.io/2019/10/14/constants-in-go-vs-javascript-and-when-to-use-them/
Qvault
Constants in Go vs Javascript, and When to Use Them - Qvault
Constants can be confusing and easy to misuse in Go if you are coming from an untyped language. In this article we will learn what constants are, and when it is best to make use of them. Most of the points I make here apply to general-purpose programming…
Golang drawer
https://blog.logrocket.com/error-handling-in-golang/
LogRocket Blog
Error handling in Go: Best practices - LogRocket Blog
Oftentimes, developers misapply Go’s features for error handling. Consider the best practices for handling errors in a Go application.
Golang drawer
https://www.yellowduck.be/posts/injecting-build-time-variables/
www.yellowduck.be
Injecting Build Time Variables
A common use-case for build-time variables is to inject the Git version information in the binary. There are several approaches on how to do this, but this one is the one I found the most useful one.
Let’s start with creating a sample project using Go modules:…
Golang drawer
https://christiangiacomi.com/posts/check-if-time-is-the-same-in-go/
Christiangiacomi
Check if two Time objects are the same point in time in Go
How do you check if two Time objects in Go refer to the same point in time?
Golang drawer
https://stephenfeagin.com/creating-an-advent-of-code-application-using-go-plugins/
Stephen Feagin
Creating an Advent of Code Application Using Go Plugins
I’ve always enjoyed solving puzzles, and love coding puzzles. This post walks through how I have set up my Advent of Code project using Go Plugins for different days’ solutions. No …
Golang drawer
https://martinheinz.dev/blog/8
martinheinz.dev
Building RESTful APIs in Golang
<p>
In previous post we talked about how to create <i>"Ultimate"</i> setup for your <i>Golang</i> project, now it's time to apply it to something real - R...
Golang drawer
https://qvault.io/2019/10/21/how-to-global-constant-maps-and-slices-in-go/
Qvault
How to: Global Constant Maps and Slices in Go
For the most part, Go developers are pretty good about using constants for global configuration, rather than global variables. A problem arises however when we
Golang drawer
https://www.digitalocean.com/community/tutorials/how-to-write-switch-statements-in-go
Digitalocean
How To Write Switch Statements in Go | DigitalOcean
switch is an alternative conditional statement useful for communicating actions taken by your Go programs when presented with different options. Everything w…
Golang drawer
https://www.calhoun.io/using-mvc-to-structure-go-web-applications/
Calhoun.io
Using MVC to Structure Go Web Applications - Calhoun.io
MVC is a well-known way to structure web applications, but it is often shunned in Go. In this article we explore how MVC can be effectively implement in Go as well as how to avoid all of the issues that many people associate with MVC.
Golang drawer
https://www.pmg.com/blog/applying-function-options-to-domain-entities-in-go/
PMG - Digital Agency
Applying Function Options to Domain Entities in Go - PMG - Digital Agency
At a high level, a function option is a closure over some value that needs to be set on some other entity. By using some helper method, you can set a defined, yet flexible, set of values on an entity type.
Golang drawer
https://dzone.com/articles/how-to-create-a-cli-in-go-in-few-minutes
DZone
How to Create a CLI in Go in Minutes
In this article, we discuss how to create a Command Line Interface in Go in just a few minutes with the help of Cobra, a robust tool for creating CLI tools.
Golang drawer
https://levelup.gitconnected.com/docker-for-go-development-a27141f36ba9
Medium
Docker for Go Development with Hot Reload
Docker is awesome! It is lightweight, makes sure you have the exact same environment as your teammates and servers and its easy to set up.
Golang drawer
https://okteto.com/blog/how-to-develop-go-apps-in-kubernetes/
Golang drawer
http://tilde.club/~ngp/blob/posts/goalpost/
tilde.club
goalpost
a durable, embeddable, worker queue for golang One thing that has always stuck out to me about the Go programming language is it’s incredibly strong concurrency model. Go is aggressively simple as a language, and it’s asynchronous architecture is no different.…
Golang drawer
https://www.yellowduck.be/posts/announcing-go-james-1.0.0/
www.yellowduck.be
Announcing go-james v1.0.0
go-james v1.0.0 github.com/pieterclaerhout/go-james
James is your butler and helps you to create, build, debug, test and run your Go projects.
When you often create new apps using Go, it quickly becomes annoying when you realize all the steps it takes…
Golang drawer
https://youtu.be/sf7f4QGkwfE
#vids
YouTube
Packages in Go (Go Basics #6)
A comprehensive & lengthy tutorial on Packages in Go with illustrations, examples and in depth explanations.
Packages in Go are a very powerful feature, which just works naturally and perfectly and most of the times is underrated. If you are new to Go or…
Golang drawer
https://github.com/cep21/benchdraw
GitHub
cep21/benchdraw
A CLI to turn Go's benchmark output into pictures. Contribute to cep21/benchdraw development by creating an account on GitHub.
Golang drawer
https://medium.com/a-journey-with-go/go-fuzz-testing-in-go-deb36abc971f
Medium
Go: Fuzz Testing in Go
Fuzzing is a testing technique that loads our program with random data. It is complementary to the usual testing and allows developers to…
Golang drawer
https://dapr.io
An event-driven, portable runtime for building microservices on cloud and edge