Centrifugo operates on a PUB/SUB model. Upon connecting to a server, clients can subscribe to channels. A channel is one of the core concepts of Centrifugo. Most of the time when integrating Centrifugo, you will work with channels and determine the optimal channel configuration for your application.| centrifugal.dev
From basic patterns to advanced techniques, this article will equip you with the knowledge to use regex effectively and efficiently in your Go applications.| Honeybadger Developer Blog
Overview ¶| pkg.go.dev
TL;DR ¶ In this post, I investigate why developers struggle with CORS and I derive Fearless CORS, a design philosophy for better CORS middleware libraries, which comprises the following twelve principles: Optimise for readability Strive for a simple and cohesive API Provide support for Private Network Access Categorise requests correctly Validate configuration and fail fast Treat CORS as a compilation target Provide no default configuration Do not preclude legitimate configurations Ease trou...| jub0bs.com
Learn how to remove characters that are not letters or numbers from a string| gosamples.dev
Learn how to remove all redundant whitespaces from a string| gosamples.dev
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go| caddyserver.com
This article is an exploration of how to improve error handling in Go. I address here some of the issues while others are left with open questions and some ideas. And, spoiler alert, I do love error handling in Go as it is now. I don’t want to replace it with anything like exceptions, but I want to make it slightly better. I’m going to limit all solutions to what we already have in the language.| blog.orsinium.dev
Go error handling can be a bit verbose. There are a lot of places where errors are unlikely or where they are so critical that a panic is preferred. Because of this there are lots of Must* -helpers in various packages. E.g. regexp.MustCompile.| paul.totterman.name
Translating Rob Pike's simple and elegant C regex matcher to Go.| benhoyt.com
Writing a fast file searching program and benchmarking it.| healeycodes.com