~/talk

Go tricks from the trenches

Talkat GoLab 2018 · 2018-10-22..10-23· [go, developer-experience]
links:none on file
slides:none on file

Command-line tooling and a reusable Go library power production workflows: egoscale backs a Cobra-based CLI, Terraform and Kubernetes integrations and the lego ACMEv2 usage, and the CLI demo successfully spawns and configures VMs. Concrete tricks include using struct tags and reflection to build REST URIs, hiding RPC verbs with an underscore field to force keyed construction, solving JSON MAC address formatting by aliasing or embedding net.HardwareAddr, and a small go/ast static checker that compares JSON API definitions to local structs and flags type mismatches.

AI-written summary · about

  1. 0:00Start
  2. 2:41Elastic Ip
  3. 13:43Reuse the Annotations
  4. 14:34Create an Ssh Key Pair
  5. 25:48Go Cloud Stack
~/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.