74,495 questions
Best practices
0
0
replies
8
views
Where should I create the application session when using an internal SSO (Gin + OAuth2)?
I’m integrating an internal SSO (OAuth2) into a web application using Gin (Go), and I’m a bit unsure about the right place to create the application session.
The SSO is the only authentication ...
0
0
answers
24
views
GCP Cloud Build not authorized to read from artifact registry
I have an issue consuming a go lib from Artifact Registry inside a Cloud Run Function (v2).
I have a private GH repo (github.com/my-account/go-lib) with a go lib where the module matches the GH path. ...
0
0
answers
47
views
How do I use the Terratest shell module?
I’ve been trying to use the Terratest shell module to execute bash commands, but I haven’t had much success. Documentation appears to be limited, and most references I found were via AI tools. Below ...
2
0
answers
27
views
inlay hints don't work for golang in neovim?
i have hints working for lua, but not for go.
i've already tried a bunch of stuff like several go configs, though it seems like it is a server problem, because Settings: {} is what i get in ...
-2
0
answers
63
views
How can http.Server be made to hold open a connection? [closed]
I'd like to add a unit test for Go's http.Server.Shutdown() timing out, but there are no connections held open when the shutdown signal is sent, so it never gets to checking for timeouts, even though ...