Golang drawer
@golang101
177
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
177 subscribers
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...
Golang drawer
https://stepan.wtf/importing-protobuf-with-go-modules/
stepan.wtf
Importing Protobuf with Go Modules | stepan.wtf
Protocol buffers and gRPC are established standards for building modern web services. Go modules are now the default way of versioning packages in Go projects. How can you import and reuse existing .proto definitions from your versioned dependencies while…
Golang drawer
https://dasio.hashnode.dev/using-ioreaderiowriter-in-go-to-stream-data-ck0v22mvg0005xes1gp13f5pg
dasio.hashnode.dev
Using io.Reader/io.Writer in Go to stream data
Let's jump right into the task:
You have to ZIP files which are available on the cloud (eg. AWS S3 Bucket).
The first solution you can think of probably downloads each file, process it (add to ZIP), delete a file and afterwards upload final ZIP to cl...
Golang drawer
https://philpearl.github.io/post/bad_go_not_sizing_arrays/
Golang drawer
https://philpearl.github.io/post/bad_go_pointer_returns/
philpearl.github.io
Bad Go: pointer returns · Phil Pearl's Blog
Mmmm, pointy
Golang drawer
https://philpearl.github.io/post/bad_go_sprintf/
philpearl.github.io
Bad Go: frivolous Sprintf
Sprintf is not always fastf
Golang drawer
Bad Go: Slices of pointers
https://philpearl.github.io/post/bad_go_slice_of_pointers/
philpearl.github.io
Bad Go: slices of pointers · Phil Pearl's Blog
Please don't