|
You are here |
lanie.dev | ||
| | | | |
lewisdale.dev
|
|
| | | | | Now it's time to actually try and send a "ping" to a website | |
| | | | |
hjr265.me
|
|
| | | | | I know many will start with something like Gin whenever they are working on a JSON/HTTP-based backend in Go. I, not entirely sure if the minority, try to stick to Go's built-in net/http package and, at most, use Gorilla Mux in most of my Go projects. And so serving something simple like JSON is no different from the package's point of view as any other content type: whatever it is, write it out to the w, the http. | |
| | | | |
damienradtke.com
|
|
| | | | | ||
| | | | |
attilaolah.eu
|
|
| | | Incidentally, decoding JSON data (or really, almost any data structure) isreally easy in Go (golang). We simply call json.Unmarshal(...) andboom! We have nice data structures. | ||