janritter/kvb-api

View on GitHub
adapters/kvb.go

Summary

Maintainability
A
1 hr
Test Coverage

Method KVBAdapter.GetDeparturesForStationID has 58 lines of code (exceeds 50 allowed). Consider refactoring.
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()

Severity: Minor
Found in adapters/kvb.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status