golang-web-dev icon indicating copy to clipboard operation
golang-web-dev copied to clipboard

I'm having trouble in connecting html, go and postgresql simultaneously.

Open SRIME opened this issue 2 years ago • 1 comments

Can anyone Update the code in 44th folder. I'm having trouble in connecting in these three simultaneously. When I try to connect go and html, it works fine. When I try to connect go and postgresql it works fine but doesnt work simultaneously. I get this error when i try curl -i localhost:8080/books after running the go file. Here's th error: http: panic serving 127.0.0.1:56720: runtime error: invalid memory address or nil pointer dereference follwed by a 2 page of some errors

SRIME avatar Jul 24 '22 11:07 SRIME

can you please be more specific? can you share the output?

gonzalochief avatar Jul 28 '22 17:07 gonzalochief