Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

I have a utility written in go that creates a tar.gz archive. It preserves file times inside the PAX headers while creating the archive. The file times I am explicitly adding to PAX headers are: atime ...
K G's user avatar
  • 69
Tooling
0 votes
3 replies
69 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
-1 votes
0 answers
51 views

Hi I am trying to generate go code by using the oapi-codegen toolkit. My openapi spec 3.0.3 is pretty extensive. The generation of the code (with strict http setting) is flawless but it results in a ...
user3665510's user avatar
Best practices
0 votes
4 replies
167 views

After working on several Rust projects with AI assistance, I want to share a division of responsibility that has worked well in practice, and ask whether others have found the same — or a better ...
杨尚山's user avatar
3 votes
0 answers
30 views

I want to create a new struct embedding original struct. But if original struct has comment, it gets placed in the middle of embed struct declaration. Example code: https://go.dev/play/p/8xqxpmNy2Qj ...
Delta's user avatar
  • 31
-1 votes
0 answers
34 views

I am building a Go backend using Prisma (prisma-client-go) Locally, everything works fine because I run the following command manually: PRISMA_CLIENT_GO_BINARIES_ALL=true go run github.com/steebchen/...
Kalpani Ekanayake's user avatar
1 vote
1 answer
72 views

Given a package layout as follows: . └── pkg └── pkg1 ├── a.go ├── b.go └── pkg1.go It's possible to write documentation for the package declaration that appears in the ...
ross spencer's user avatar
2 votes
1 answer
145 views

I'm observing a strange behavior in Go where the presence of a fmt.Printf statement affects the boolean result of an interface comparison. Env: go version go1.25.6 darwin/amd64 package main import &...
leesea's user avatar
  • 33
0 votes
2 answers
113 views

I'm trying to build a Go package in Flathub's CI for an aarch64 Linux architecture. The build is failing while compiling a C dependency: # github.com/rclone/rclone /usr/lib/sdk/golang/pkg/tool/...
Pieter's user avatar
  • 33.2k
0 votes
0 answers
133 views

I want to debug my go code which is mounted into a docker container. Delve is installed inside the container. I am using goland by jetbrains. Everything works fine as long as I don't use the container ...
Jakob's user avatar
  • 180
Advice
2 votes
9 replies
286 views

I’m planning to start learning System Design, but I’m a bit confused about which programming language I should focus on for it. Most of my experience so far is with C++ and JS, but I often see people ...
Paras Upadhyay's user avatar
0 votes
1 answer
78 views

Considering the following code, I expect the call to return an error when the Etag that is provided is the same as the remote one. But when testing it does not really matter if it match or not. func (...
Michael Ben-Nes's user avatar
0 votes
0 answers
102 views

Problem I'm using the BigQuery Storage Write API (Go managedwriter package) to upload data to three tables with very different ingestion rates: Table Frequency Record Size A ~10 records/sec Several KB ...
DaeYoung's user avatar
1 vote
1 answer
82 views

I have a Golang project, a single page application in React, where golang works as static files server and API. The application can be run using docker compose up and npm run in the web folder. Here ...
Emaborsa's user avatar
  • 2,980
Advice
1 vote
3 replies
136 views

I see everyone is doing the same project ecom or some learning platform, streaming platform or social media. can anyone suggest me a unique one. I am a fresh go-lang developer (has done ecom as my ...
Sojil K john's user avatar

15 30 50 per page
1
2 3 4 5
4967