Skip to main content
Filter by
Sorted by
Tagged with
Tooling
0 votes
2 replies
21 views

In JavaScript projects it's common to keep shared helpers in `helpers/`, `utils/` or `common/` (logging, filesystem helpers, string helpers, etc.). In Go I’ve noticed different conventions. What is ...
m__mdy__m's user avatar
Best practices
0 votes
1 replies
52 views

I'm building a webhook handler that needs to accept webhooks from multiple providers (Stripe, GitHub, Shopify, Twilio, etc.). Each provider uses different signature verification methods: - Stripe: ...
abhineet's user avatar
  • 235
-7 votes
0 answers
55 views

I recently upgraded my application from the MongoDB Go Driver v1.x to v2.x. Functionally everything works fine, but during benchmarking I noticed a noticeable performance degradation in our legacy ...
Aadi Sharma's user avatar
-2 votes
0 answers
39 views

currently I am showing the Business Metrics for my data by doing an Aggregate query on DocumentDB which is taking around 15 mins in Prod for around 30M+ Data. My senior recommended me to use Kafka ...
Piyush Kaushish's user avatar
0 votes
0 answers
62 views

I am building a web application in Go (using the standard net/http library) that fetches a list of popular films from the TMDB API. Currently, I fetch and display all films at once, but I want to ...
Harold9's user avatar
  • 11
1 vote
1 answer
30 views

The timeCodec in the Mongo driver throws an error when decoding doubles into time.Time fields. I'm dealing with legacy data that stores time as a double and it's impractical for me to migrate ...
takanuva15's user avatar
  • 1,780
1 vote
1 answer
38 views

colleagues! - I use the "nats" message broker in my Golang project. - Currently, when using "NATS," large messages aren't compressed at all, causing the producer to crash with an ...
DimaMsuVmk22's user avatar
0 votes
0 answers
38 views

I’m building a Native Messaging Host in Go (Windows/macOS) for an online proctoring app. The Chrome side records the screen, and the native host should detect if apps are running but not visible in ...
Al Shahreyaj's user avatar
Tooling
0 votes
0 replies
26 views

This days me and my friend made a multiplayer game in godot. The server is written in go using protobaf. To test the multiplayer, i used ngrok. I know we can use port forwarding but i thought ngrok is ...
ΝΙΚΟΛΑΣ ΜΕΝΥ's user avatar
-2 votes
0 answers
69 views

I’m experimenting with Go’s for range loop and goroutines, and I ran into behavior I can’t explain. This example prints inconsistent or duplicated values: package main import ( "fmt" ...
user31429062's user avatar
1 vote
1 answer
56 views

I need to send commands by telnet to a matrix switcher from Atlona (though, I suppose, it's not a problem with a device, but anyway). One of commands is x4AVx5. When I send it from terminal, it works. ...
titovtima's user avatar
Tooling
0 votes
3 replies
35 views

I am working on a module called automat. When I save my go file, it's being reformatted from: package cmd import ( "context" "fmt" "os" "strings" &...
wookie_on_earth's user avatar
Best practices
2 votes
4 replies
67 views

I want to show the user a timestamp based on their preference, i.e. the system locale. I want to format the time depending on if they're using a time locale that normally shows a 12-hour time, or 24-...
Janne Enberg's user avatar
  • 2,069
-3 votes
0 answers
39 views

I have an api which is responsible for download the file of any mime type if its available in the s3 bucket now in the response it draws a presigned url, hmacsignature, urlbucket name, etc. Now I want ...
Vishal Srivastava's user avatar
-1 votes
2 answers
97 views

I'm having an issue using template inheritance in Go. All of my routes are rendering the same file from my templates folder, which happens to be the last one (ViewGames.html). Here is what my ...
Darien Miller's user avatar

15 30 50 per page
1
2 3 4 5
4966