api-go/internal/graphql_server/utils/get_prediction.go
Function GetPrediction
has 5 return statements (exceeds 4 allowed). Open
Open
func GetPrediction(fileHeader *multipart.FileHeader) (*Prediction, error) {
file, err := fileHeader.Open()
if err != nil {
log.Error().Err(err).Msg("file.Open")
return nil, err