~/talk

First Steps Into Web Server Development

Talkat GopherCon Europe 2022 · 2022-07-28..07-31· [web-platform, go]
slides:none on file

Live codes a tiny Go web server in five minutes using standard library only, starting the server with http.ListenAndServe and registering handlers with http.Handle. Builds an hello endpoint that reads JSON from the request body via io.ReadAll and json.Unmarshal, extracts a name (defaults to "world"), and returns a greeting. Adds a middleware wrapper that logs requests and calls the inner handler. Everything runs live and returns the expected greetings.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.