Showing 1 of 4 total issues
Method KVBAdapter.GetDeparturesForStationID
has 58 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (adapter *KVBAdapter) GetDeparturesForStationID(ctx context.Context, stationID int) (domains.Departures, error) {
var span trace.Span
ctx, span = otel.Tracer("kvb-api").Start(ctx, "GetDeparturesForStationID")
defer span.End()