Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
107 views

Go REST API feedback [closed]

My intention is to create an API as generic and DRY as possible using Go. To achieve this, I have made some more or less common decisions: To use AJAX call to avoid reloading page when updating the ...
sibert's user avatar
  • 119
2 votes
1 answer
956 views

Creating SQL Table from a Go Struct

I have been building an API in Go, which I want to link to a Postgres SQL table. I have always used NoSQL previously but thought ...
user6248190's user avatar
4 votes
1 answer
795 views

Historical Funding Rate Miner for ftx.com

I recently started to take a look at the Go programming language and decided to write a small project without practical use. The objectives were: Regularly poll the latest funding rates from https://...
Benj's user avatar
  • 389
3 votes
0 answers
139 views

Updating user information in SQL

Newbie here. I have this gqlgen api with sqlc update code, which updates the user by given id with provided fields: ...
Swix's user avatar
  • 131
6 votes
1 answer
131 views

HackerNews news fetcher

The following code is part of a big application. I am new to Go, and appreciate feedback on the best practices and improvements. Please consider styling and comments as well. Every 30 minutes, this ...
ceth's user avatar
  • 792
2 votes
1 answer
3k views

go-pg efficient multi table/row insert

What is an efficient way to write this raw PostgreSQL query using in go? I'm using go-pg but something with just the pg library ...
Rodrigo's user avatar
  • 71