// favourite golang snippet for error handing right now func must(action string, err error) { if err != nil { panic("-> Failed to " + action + ": " + err.Error()) } }