~/talk

Keynote: You Want To Build a Web Service?

Talkat GoLab 2019 · 2019-10-20..10-22· [software-architecture, go]
slides:none on file

Live‑codes a minimal Go “starter kit” that proves production basics: project layout with command/internal packages, dependency management via go mod, config as tagged structs with defaults plus env and flag overrides, and no hidden globals. Adds human logs, embedded build info using -ldflags, runtime metrics and debug endpoints via pprof and expvar (debug on :4000, API on :3000), and graceful shutdown using http.Server.Shutdown with a shutdown signal channel and error‑type signaling. The demo builds, shows help, and serves debug endpoints successfully.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 3:56Project structure and setup
  3. 10:40Logging design philosophy
  4. 12:44Configuration management
  5. 21:56Build-time variables and debugging
  6. 26:06Debugging and metrics setup
  7. 31:05HTTP server and shutdown handling
  8. 42:46Error handling and shutdown signals
  9. 44:37Starter kit vs frameworks
  10. 46:01Closing remarks and Q&A
~/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.