~/talk

Abusing text/template for data transformation

Talkat dotGo 2015 · on Monday, 2015-11-09· [go, developer-experience]
slides:none on file

A small pipeline transforms raw GitHub webhooks and API payloads into concise typed JSON using a forked text/template as a DSL that returns interface values instead of strings. Templates handle tests, range loops and user functions (example: TOML configuration drives mappings and a userdata function enriches logins with employer/maintainer info). Output goes into Elasticsearch and Kibana for dashboards; the tool is open source and used successfully to build those dashboards.

AI-written summary · about

  1. 0:00Start
  2. 2:37Simple mapping
  3. 2:50Tests
  4. 3:00Loops
  5. 3:12User defined functions
~/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.