~/talk

"Protoc-gen-struct-transformer Plugin"

Talkat Gopherpalooza 2019 · on Friday, 2019-11-08· [go]

Protoc-gen-struct-transformer claims to remove hand-written, field-by-field conversions by generating conversion functions between protobuf-generated Go structs and business-logic structs, invoked as a protoc plugin. It parses proto options that supply package names and the path to the business struct source and emits a Go file with converters that support pointers and slices and handle basic type casts (int→int64). The tool is open sourced and demonstrated working on a simple orders example.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Example App
  3. 2:40Business Project
  4. 5:46Plugin
~/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.