Skip to main content
0 votes
0 answers
8 views

gotk3 tree_model_iter_next or tree_model_foreach?

I have an app written in Go using GOTK3 and GTK3. I want to step through each entry in a liststore, read an index value and replace four other values in the same line. I have tried using foreach: ...
Hoodoo's user avatar
  • 81
-2 votes
0 answers
49 views

Tag Mismatch error when using Java AES implementation to decrypt json files encrypted by Golang AES implementation [closed]

I received a json file encrypted with Golang AES/GCM/NoPadding,and I implemented AES/GCM/NoPadding using Java. I can encrypt json file and decrypt it and the other side (Golang) also can encrypt json ...
胡轩敏's user avatar
0 votes
0 answers
17 views

Connecting to Elasticache Valkey Using IAM Role

tl;dr Working in Go, and had to write my own token signing method connect to Valkey Instance in Elasticache. Keep getting error: "WRONGPASS invalid username-password pair or user is disabled.&...
James Cooper's user avatar
3 votes
2 answers
38 views

Golang Fyne, Limit the size of the left object with NewHSplit

enter image description here enter image description here example1 gif example2 gif I'm trying to create a navigation bar on the left side of the window. The problem is that the line (NewHSplit) can ...
leodedsec's user avatar
2 votes
0 answers
31 views

push Histogram metrics through pushgateway, but only found +lnf bucket

What did you do? I use the following code to generate some metrics data, and then push it to Prometheus through pushgateway. I use Histogram type data and design multiple buckets. However, after ...
Kante Yang's user avatar
1 vote
0 answers
32 views

how can I use Quotactl system call of linux to set project quota in ext4 filesystem

I have checked the man7.org to find the answer, and I found that the Q_SETQUOTA subop of quotactl seems to support only user and group quota? Q_SETQUOTA Set quota information for user or ...
Yipeng's user avatar
  • 11
-1 votes
0 answers
28 views

How to fix PokeAPI TLS Error in Golang (Debian)? [closed]

I am trying to run a HTTP Server through Go, and load a list of Pokemon to the starting page with a PokeAPI package. The brunt of making it actually work was on a Chromebook using a GitHub Codespace, ...
Wither19's user avatar
1 vote
0 answers
32 views

Migrating a domain model that exposes interfaces with Gorm [closed]

I am currently working on an application whose core responsibility is recording user feedback and input through surveys. The surveys are fairly simplistic - one or more question/answer pairs, often ...
aevitas's user avatar
  • 3,863
-2 votes
0 answers
33 views

Copying Nested Struct Into Postgres DB Using pgx In Golang [closed]

I have a nested struct that contains multiple rows of data (converted from JSON) that I need to copy into a Postgres database. I am trying to use the copy method shown here but I am getting: dailyData....
bbjrStackOverflow's user avatar
-3 votes
0 answers
17 views

Modify launch.json file [closed]

Got the same problem. It solved by modify launch.json like this: { "version": "0.2.0", "configurations": [ { "name": "...
Алексей Орлов's user avatar
-1 votes
0 answers
20 views

Increase in Go Kafka Consumer CPU Usage [closed]

I am observing increase in kafka consumer service CPU usage to 80-90%. Following are the kafka consumer details fetch min bytes - 10kb batch max poll records - 10 poll interval - 2 seconds consumer ...
Avdhoot Jadhav's user avatar
-2 votes
0 answers
20 views

binding.cpp:1:10: fatal error: 'common.h' file not found [closed]

% go mod init llama-test % go get github.com/go-skynet/go-llama.cpp % go run llm.go binding.cpp:1:10: fatal error: 'common.h' file not found getting this error even for this, go run ./cmd/main.go --...
Parthasarathy S's user avatar
-3 votes
1 answer
35 views

Should I Use a Context in Go Even If It Is a Critical Operation? [closed]

"At Google, we require that Go programmers pass a Context parameter as the first argument to every function on the call path between incoming and outgoing requests. This allows Go code developed ...
Ethan's user avatar
  • 17
-1 votes
0 answers
29 views

How to add WeakRef support to goja JavaScript engine in Go? [closed]

I'm using the goja JavaScript engine in my Go application and need to implement WeakRef support for my use case. Currently, when I try to use WeakRef in goja, it throws an error: package main import (...
TR4N51ST0R's user avatar
3 votes
1 answer
41 views

go-fiber: How to adjust the response message inside the recover middleware

go-fiber comes with a middleware to recover from panic. But I don't want to expose internals, so how can I adjust the message returned to the client? Or is this middleware not made for this - if so, ...
NotX's user avatar
  • 2,482

15 30 50 per page
1
2 3 4 5
4963