Skip to main content
-5 votes
0 answers
44 views

Telnet Localhost Unable to Login (Hardcoded Credentials) [closed]

All, I am doing a case study on the Mirai botnet, and I need to establish a connection to my local CNC server. The CNC server utilizes a MySQL database, which requires a set of credentials (hardcoded ...
Ant's user avatar
  • 3
0 votes
0 answers
31 views

mysql pagination on join tables [duplicate]

I have tables villas, locations, categories, amenities, villas_amenities and type (table amenity's type) the relationships are : villas belongs to one location villas belongs to one categories villas ...
Faizisyellow's user avatar
1 vote
0 answers
27 views

How to use SET NX for distributed lock in Redis cluser?

I have a Redis cluster with a single shard and 3 nodes in that shard. I am trying to implement a locking mechanism using the SET NX command which returns false if the key is already set, and true if ...
abhishek's user avatar
1 vote
1 answer
56 views

Understanding of Go dependencies lookup

I’m trying to understand why go list -mod=readonly -m -json all returns more dependencies than it actually downloads when looking into .mod files from go mod download -x output. Take go.opentelemetry....
Marianpol's user avatar
-2 votes
0 answers
29 views

config files in golang project layout [closed]

there is golang project which contains a lot of components. as well as a number of yaml configs. there is no one-to-one dependency between components and configs. e.g. componen1 uses config1, config3 ...
amigo421's user avatar
  • 2,537
0 votes
0 answers
17 views

multipart: NextPart: EOF Error in ServiceController.CreateService, but Test Route in main.go Works

Here's a detailed description for your GitHub issue, incorporating the information we've discussed. This provides context, the problem statement, steps to reproduce, and your observations. package ...
Joy Karmakar987654321's user avatar
1 vote
1 answer
34 views

Can GraphQL Endpoint co exist with Rest Endpoints in same Service?

Creating any microservice in kubernetes cluster requires /readiness and /liveness endpoints to detect service state. These htt endpoints would usually be rest endpoints. My application already has few ...
Anshu Kumar's user avatar
0 votes
0 answers
28 views

How to remove method or line from sonarqube check in Go?

have a correct method to remove unique method or line from check coverage sonar? like //NOSONAR? I've tried but I wouldn't like to have to use sonar.exclusions= in my sonar-project.properties file
Bruno Barbosa's user avatar
2 votes
1 answer
71 views

Is there a way to increase a Go server timeout for specific endpoints?

We have a monolithic API that (in addition to other endpoints) has a number of reporting endpoints under the /reports prefix. These reporting endpoints all take a while (>2 minutes) to return a ...
annoyed_developer_2022's user avatar
1 vote
0 answers
30 views

GRPC-gateway (golang): how to return nulls in json on some fields

I have enpoint that must return a response like { "reallyOptionalValue": "string" //must be omitted when empty "nullableValue": "string or null" } my ...
Дов Машле's user avatar
-4 votes
0 answers
55 views

Does for-range loop allocates memory for every iteration? [duplicate]

Ex1. for k, v := range a { foo(k, v) } Ex2. for k := range a { foo(k, a[k]) } Is there a difference in memory usage and allocations between ex1 and ex2? More specifically: is v variable ...
Yuri Tinyukov's user avatar
0 votes
0 answers
41 views

Not able to delete task from queue using golang [closed]

I am trying to delete the task from the queue after retry exhausted it will move to archived state, so from archived state I want to delete the task from queue. But in my queueMon UI task is showing ...
Rekha's user avatar
  • 431
-1 votes
0 answers
49 views

Cant import btcutil (golang)

im currenty on a project and i try to import btc util but it says go get github.com/btcsuite/btcutil go: github.com/btcsuite/btcutil imports github.com/btcsuite/btcd/btcec: cannot find module ...
arian moradi's user avatar
-1 votes
0 answers
40 views

Create function that receives as parameter multiple functions with any signature [duplicate]

I am tinkering with Go and I was wondering if there is a way to do this: func Chain(v ...Pair[GenericFunc, ...GenericArgs]){...} func GenerateArgs() []any {...} func AsStrings(slice []any) []string {.....
Dain's user avatar
  • 59
2 votes
1 answer
34 views

Mismatched Nonce on Server Side Apple App Attest

I am currently trying to learn how to implement Apple's App Attest in my apps and am using Go for my backend server. I found this guide which explains that I need to verify that a specific set of ...
Math Rules's user avatar

15 30 50 per page
1
2 3 4 5
4963