1package utils 2 3func Must(action string, err error) { 4 if err != nil { 5 panic("failed to " + action + ": " + err.Error()) 6 } 7}