golines --max-len=60

This commit is contained in:
Dmitrii Okunev
2024-10-16 22:58:55 +01:00
parent df42a4da66
commit fb33738f1c
73 changed files with 1812 additions and 433 deletions

View File

@@ -109,7 +109,11 @@ func (srv *GRPCServer) newInputByURL(
config := recoder.InputConfig{}
input, err := recoder.NewInputFromURL(ctx, path.Url.Url, path.Url.AuthKey, config)
if err != nil {
return nil, fmt.Errorf("unable to initialize an input using URL '%s' and config %#+v", path.Url, config)
return nil, fmt.Errorf(
"unable to initialize an input using URL '%s' and config %#+v",
path.Url,
config,
)
}
inputID := xsync.DoR1(ctx, &srv.InputLocker, func() InputID {
@@ -163,7 +167,11 @@ func (srv *GRPCServer) newOutputByURL(
config := recoder.OutputConfig{}
output, err := recoder.NewOutputFromURL(ctx, path.Url.Url, path.Url.AuthKey, config)
if err != nil {
return nil, fmt.Errorf("unable to initialize an output using URL '%s' and config %#+v", path.Url, config)
return nil, fmt.Errorf(
"unable to initialize an output using URL '%s' and config %#+v",
path.Url,
config,
)
}
outputID := xsync.DoR1(ctx, &srv.OutputLocker, func() OutputID {