python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
GO storing data returns EOF
I'm new to golang and I'm trying to build rest api, So far GET endpoints are working for me fine, but I'm having difficulties with POST method(creating user):
That's how my User struct is looking:
typ...
Ženia Bogdasic
Votes: 0
Answers: 1
Go: How to send a File from AWS S3 via GIN-Router as binary stream to the browser?
How can I send a file, that I've got received from S3, to Gin as binary response?
Lets say, I have the following code to obtain an image from S3 bucket:
response, err := i.s3Client.GetObject(context.T...
delete
Votes: 0
Answers: 1
Go gin session after redirecting
Session is working fine in the same handler, but when redirecting from route to other one, session is not working
also i used session in routing class like this
store := cookie.NewStore([]byte("s...
Ayman Elmalah
Votes: 0
Answers: 0
go api with gin gonic PATCH request not working
I am a beginner in go trying to write my first simple API using the gin gonic framework. I have a mock set of data in a struct that holds information about a number of books available in a library.
Fo...
Beatrix
Votes: 0
Answers: 1