golang-web-dev
golang-web-dev copied to clipboard
I'm having trouble in connecting html, go and postgresql simultaneously.
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
can you please be more specific? can you share the output?