All Questions
Tagged with postgresql go
6 questions
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 ...
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 ...
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://...
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:
...
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 ...
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 ...