Backend developer | Reader | Semi-writer | Golang | Node.js | PostgreSQL | Vim enthusiast
I like to understand how things work under the hood, but not too deep.
As others mentioned, use backtics in order to allow string interpolation.
And, regarding your server, it's indeed listening, but, it'll only respond to requests when you hit localhost:5000/api/sessions since you don't have a default handler for / route.
As others mentioned, use
backtics
in order to allow string interpolation.And, regarding your server, it's indeed listening, but, it'll only respond to requests when you hit
localhost:5000/api/sessions
since you don't have a default handler for/
route.Thanks!