Skip to main content
2 votes
0 answers
28 views

missing EventToken.h while building with webview and fyne-cross

So, after I added webview onto my app I try to compile my app, this error appears: In file included from webview.cc:1: In file included from /go/pkg/mod/github.com/webview/[email protected]...
MrBusAI's user avatar
  • 21
Tooling
0 votes
2 replies
58 views

Cache Go dependencies in dev container

I'm trying to build a pre-built dev container (see here). Among others, the app has some Go dependencies specified in go.mod (link to file): module github.com/jovandeginste/workout-tracker/v2 go 1.24....
mu88's user avatar
  • 5,699
1 vote
0 answers
53 views

Golang benchmarks involving goroutines show higher than expected allocations when controlling the timer manually

Using go version go1.25.3 darwin/arm64. The below implementation is a simplified version of the actual implementation. type WaitObject struct{ c chan struct{} } func StartNewTestObject(d time....
Ahmad Sameh's user avatar
2 votes
0 answers
35 views

How to use ITaskbarList3::SetProgressState and ITaskbarList3::SetProgressValue in Go? [duplicate]

I make a software in Go. Because it made a long process, it displays a progression bar. I show one with a *fyne.widget.ProgressBar, and I would like to add another one directly on the taskbar button ...
eliotttak's user avatar
5 votes
1 answer
88 views

Use Petsc-Library in Go

I am trying to use the PETSc (Portable, Extensible Toolkit for Scientific Computation) library in Go over cgo. After the call of PetscInitialize, the program will crash at a random point with the ...
Fabian's user avatar
  • 81
2 votes
1 answer
43 views

Purpose of WriteCommitted isolation transaction level (Golang database/sql package)

In Golang, database/sql package, there is a constant such as LevelWriteCommitted for the IsolationLevel type https://pkg.go.dev/database/sql#IsolationLevel What is the purpose of this level? There is ...
Alexandr Ch's user avatar
Best practices
0 votes
2 replies
96 views

Memory accounting and quotas for subtasks in golang programs

If I have a server written in golang that processes requests containing user queries, is there any viable method to track and limit the memory used by any given user request? The server process does ...
Craig Ringer's user avatar
1 vote
1 answer
60 views

How to display a progression bar on the task bar using Go and Fyne?

I am creating a little software in Golang. I use Fyne as GUI library. It creates long process (it it a file encrypter), so I display a progression bar, as it: go func() { go encryptCore( ...
eliotttak's user avatar
-2 votes
1 answer
82 views

Goroutine not updating map correctly in concurrent Go program

I’m trying to update a map from multiple goroutines, but the results seem inconsistent. Sometimes keys are missing or values are wrong. Here’s my code: package main import ( "fmt" &...
Md.Jewel Mia's user avatar
  • 3,457
0 votes
1 answer
101 views

How can I have a tools-only folder/module?

My project has the following folder structure: . ├── mkdotenv │ ├── core │ │ ├── dotenv_resolve.go │ │ └── dotenv_resolve_test.go │ ├── files │ │ └── files.go │ ├── go.mod │ ├── go....
Dimitrios Desyllas's user avatar
0 votes
0 answers
77 views

Druid Timestamp formatting issue — data correct, but still shows UTC (Z)

I have a Druid SQL query that returns data correctly for different timezones (UTC, EST), but the timestamp format is still shown in UTC (Z), even though the values are correct. timestamp ...
Vibhu Khare's user avatar
3 votes
2 answers
84 views

MongoDB Go driver’s topology view is stale and reports no primary indefinitely

I'm encountering an issue in a Go application that uses the official MongoDB Go driver. We have the use case where a ReplicaSet is recreated from scratch. Replica Set consists of 2 members, no arbiter ...
Isaac's user avatar
  • 31
0 votes
0 answers
42 views

Install Wails v2 on mac permission denied

I have an issue trying to install WAILS https://wails.io/docs/gettingstarted/installation I am running a command and it outputs permission denied. go install github.com/wailsapp/wails/v2/cmd/wails@...
Sebastian Romero Laguna's user avatar
1 vote
1 answer
59 views

How to set min window size for application

I just want to create a simple chat app. I try setting the min size for myWindow but only found SetMinSize function on baseObject, not for container or layout. Right now my app can shrink very small ...
Nguyen Duc's user avatar
1 vote
0 answers
43 views

how to manage the lifecycle of a gdk.Pixbuf?

I am dipping my feet into gtk/gdk and golang. I have wirtten a Program creating an image per second by providing a new pixmap to the Image widget via var theImage *gtk.Image var nextFrame *gdk.Pixbuf ....
Impatient Hippo's user avatar

15 30 50 per page
1
2 3 4 5
4964