Skip to main content
1 vote
1 answer
72 views

I have created a function to return the db connection of a postgresdb using pgxpool. But I don't want to create multiple pools since i will be calling this function each time to execute a query. Since ...
lokesh's user avatar
  • 54
-2 votes
0 answers
73 views

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 ...
theory's user avatar
  • 9,995
0 votes
0 answers
57 views

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 ...
PDGamer's user avatar
  • 11
-2 votes
0 answers
77 views

I am working on smtp library to act as mux for smpt. User define config with multiple smtp downstream servers and the service. This service will act as proxy between down streams and upstream. Purpose ...
aman goyal's user avatar
1 vote
0 answers
44 views

We have a project with 3 git repositories, let's call them backend, ui and library, hosted at gitlab.com/mycompany. These build quite happily. I am trying to move the three repos into one, so we now ...
Pete 's user avatar
  • 1,323
2 votes
0 answers
32 views

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 ...
Bari's user avatar
  • 21
1 vote
1 answer
33 views

I get an error when trying to download private go dependencies from artifact registry via terraform: │ Error: Error waiting to create function: Error waiting for Creating function: Error code 3, ...
CloudNative's user avatar
3 votes
0 answers
30 views

I’m using Milvus 2.5 with the Go SDK (v2.5.1) and ran into an issue when inserting data into a collection that uses a Function-defined field together with RowBasedInsertOption. In my collection schema,...
Veli Kıyak's user avatar
Best practices
1 vote
0 replies
29 views

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 ...
meng's user avatar
  • 25
1 vote
0 answers
31 views

I'm building a route for my go (gin) server that generates a Data Encryption Key (DEK), following the principle of zero-trust (the backend never sees the plaintext). Right now, the client generates a ...
Alexxino's user avatar
  • 928