close
Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
75 views

I'm running into a strange error when running the .exe that I built from a simple Go script I'm making, when I try to run the .exe it gives the following error and deletes the .exe file: Translation: ...
Jordi Ruhí Fernández's user avatar
-1 votes
1 answer
78 views

I'm developing a hacking system that involves compiling hacking scripts to be injected in a CTF server. My goal is to compile each script from executing go build from Go code because the CTF server ...
wavesinaroom's user avatar
2 votes
1 answer
66 views

I use github.com/diamondburned/gotk4/pkg/gtk/v4. I'd like to create a modal dialog, like this: dialog := gtk.NewMessageDialog( &window.Window, gtk.DialogModal|gtk.DialogDestroyWithParent, ...
eliotttak's user avatar
-3 votes
1 answer
109 views

I'm writing a function that gets student grades in parallel goroutines and returns their arithmetic mean at the end. If at least one student has an error, the function should return the first error ...
ecoegor's user avatar
Advice
0 votes
6 replies
117 views

I am reading up about wrapping and unwrapping errors when doing a chain of calls. On this topic I came up the following snippet of code. err := controller() stack := []error{err} for len(stack) > ...
user3665510's user avatar
2 votes
0 answers
70 views

My goal is to apply an Overlay to an Openapi Document. The Overlay Specification exemplifies the usage of "traits". E.g.: given the following document: openapi: 3.1.0 info: title: API with ...
zelite's user avatar
  • 1,562
Advice
0 votes
2 replies
58 views

The following test fails on golang , because the library "github.com/grahamgreen/phpserialize" wrongly escapes single quote characters. The working library which does not produce an error ...
kukulis's user avatar
  • 21
Advice
0 votes
1 replies
112 views

Can anyone give me any idea how to implement this system inside a adnetwork ! I have the implementation for DSP with open RTB 2.5. But now I want to redirect my unused inventory/request to other SSPs. ...
Mehraz Hossain Rumman's user avatar
1 vote
0 answers
89 views

I have an Elixir module in which I am trying to call out to Pdfcpu to modify existing PDFs. Pdfcpu is written in Go and has a CLI and an API, and I am trying to use the API. I am using Wasmex to run ...
Paul B's user avatar
  • 503
Tooling
0 votes
0 replies
124 views

So, I am implementing a Block Storage Engine in Go and go stuck at the Database part to store Manifest (file) information and an Index Table (a map to store each block information). I was thinking of ...
tojal's user avatar
  • 1
1 vote
1 answer
164 views

I'm trying to use a generic function to make a value, conforming to a specified interface. It won't compile because one of the methods takes a pointer receiver. Code: package main // implyType is one ...
LoneCoder's user avatar
Best practices
0 votes
2 replies
169 views

I am coding a server in GoLang that allows multiple clients to connect to it and each time a client sends a message to the server that message is propagated to all of the other clients. I came up with ...
tojal's user avatar
  • 1
1 vote
0 answers
80 views

In Go 1.24.0 there is an additional parameter in x509.VerifyOptions to be included when verifying X.509 certificate. The problem is that if my X.509 ceritificate doesn't contain any policies or ...
ojacomarket's user avatar
Best practices
0 votes
3 replies
87 views

I have a generic struct that requires passing a generic type that fulfills the constraints where the value is comparable so I can use it in a map index, and the value implements Scanner, ie. type ...
Taco de Wolff's user avatar
Tooling
0 votes
3 replies
147 views

I'm in the process of learning Golang, and I'm currently trying to create a Todo project. My knowledge is limited to the GO base. Please take a look at my code and tell me how I can delete a task. The ...
Nikita's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
4965