~/talk

The journey to automatic dependency injection in go

Talkat GoDays 2020 · 2020-01-21..01-23· [go, developer-experience]
slides:none on file

Builds a proof‑of‑concept runtime injector that uses reflection to recursively instantiate structs, a hand‑generated type registry created by parsing source with the AST-based registry, and conventions for factories, share/bind semantics and delegates; demonstrates a live MVC demo with DB sharing but finds runtime DI brittle, slow and hard to debug; pivots to Google Wire for compile-time generation which produces safe, generated factories that actually work for production.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:55What is dependency injection
  3. 19:56Runtime DI live demo attempt
  4. 29:42Problems with runtime DI
  5. 31:06Compile-time DI with Wire
  6. 33:33Runtime vs compile-time DI
  7. 34:35Q&A and future plans
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.