Golang drawer
@golang101
177
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
177 subscribers
Golang drawer
https://www.digitalocean.com/community/tutorials/how-to-use-variadic-functions-in-go
Digitalocean
How To Use Variadic Functions in Go | DigitalOcean
A variadic function is a function that accepts zero, one, or more values as a single argument. While variadic functions are not the common case, they can be …
Golang drawer
https://www.digitalocean.com/community/tutorials/how-to-construct-for-loops-in-go
Digitalocean
How To Construct For Loops in Go | DigitalOcean
In the Go programming language, a for loop implements the repeated execution of code based on a loop counter or loop variable. In this tutorial, you will l…
Golang drawer
https://reese.dev/go-slices-demystified/
John Reese
Go Slices Demystified
Slices are one of those types in Go that take a little bit of time and hands on experience to really wrap your head around. There is a lot of material out there that explain slices, but I'm going to take a slightly different approach. We'll start with clarifying…
Golang drawer
https://medium.com/swlh/simple-guide-to-panic-handling-and-recovery-in-golang-72d6181ae3e8
Medium
Simple Guide to Panic Handling and Recovery in Golang
Learn to take control of panics in your Go application.
Golang drawer
https://www.fullstackgo.io/handling-json-in-go
www.fullstackgo.io
Handling JSON in Go
Go was built for the modern world. So let's talk about encoding and decoding the most popular data-interchange format.
Golang drawer
https://presstige.io/p/Using-Go-instead-of-bash-for-scripts-6b51885c1f6940aeb40476000d0eb0fc
Golang drawer
https://dave.cheney.net/2019/09/24/be-wary-of-functions-which-take-several-parameters-of-the-same-type
Golang drawer
https://medium.com/avitotech/how-to-work-with-postgres-in-go-bad2dabd13e4
Medium
How to work with Postgres in Go
Using Postgres from Golang in a not-exactly-correct fashion can lead to data corruption and downtime.
Golang drawer
https://techblog.fexcofts.com/2019/09/23/go-and-test-mocking/
Tech Blog
Go and Test: Mocking - Tech Blog
Mocking with Golang Go has his own mock library that you can see here, I think that it is not simple and easy to use, but there is another library that…
Golang drawer
https://dev.to/zaracooper/create-your-developer-portfolio-using-hugo-and-github-pages-35en
DEV Community
Create your developer portfolio using Hugo and Github Pages
One thing that sets you apart when looking for a developer gig is a portfolio website. It gives poten...
Golang drawer
https://yalantis.com/blog/how-to-build-websockets-in-go/
Yalantis
How to implement instant messaging with WebSockets in Go
Drive in the true real-time functionality to your app with WebSockets in Go. In out post, we explain what WebSockets are and how to add them to your app.
Golang drawer
https://github.com/nhooyr/websocket
GitHub
GitHub - coder/websocket: Minimal and idiomatic WebSocket library for Go
Minimal and idiomatic WebSocket library for Go. Contribute to coder/websocket development by creating an account on GitHub.
Golang drawer
https://github.com/Allenxuxu/gev
GitHub
GitHub - Allenxuxu/gev:
🚀
Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode.…
🚀
Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers. - GitHub - All...
Golang drawer
Scientific paper:
What is the adoption level of automated support for testing in open-source ecosystems?
https://dl.acm.org/citation.cfm?id=3356325
Golang drawer
https://levelup.gitconnected.com/go-restful-series-a7addbfef5b1
Medium
Go RESTful Series
Let’s build a real-world production-grade RESTful Web Services project with Go (Golang).
Golang drawer
https://www.fullstackgo.io/prefix-trees-in-go
www.fullstackgo.io
Prefix Trees in Go
A prefix tree (or trie) data structure is great for text searching. Let's try implementing one in Go.
Golang drawer
https://qvault.io/2019/09/25/the-proper-use-of-pointers-in-go-golang/
Golang drawer
https://manfred.life/golang-project-layout
Manfred Touron
Golang project layout
Context In a previous blogpost, I talked about why I always trash the V1 of my projects. At Berty, we recently decided to start a clean V2, based on everything we learned from the V1.
What works well having a monorepo being protobuf-first and generating…
Golang drawer
https://stephenafamo.com/blog/better-scheduling-in-go/
Stephenafamo
Better scheduling in Go | Stephen AfamO's Blog
In a lot of situations, we would like to be able to schedule functions in Go. While there are many current tools for doing scheduling (such as Cron)...
Golang drawer
https://dev.to/jonfriesen/mocking-dependencies-in-go-1h4d
DEV Community
Mocking dependencies in Go
Go makes obvious, non-magical dependency injection easy. Lots of new developers, or experienced...