You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return fmt.Errorf("Object passed to output.Write was nil")
}
if fn, ok := FormatFns[cfg.Format]; ok {
return fn(wr, cfg, obj)
}
return fmt.Errorf("%q isn't a supported output type. Use one of the following instead:\r\n%s", cfg.Format, strings.Join(SupportedOutputFormats(), "\r\n"))