diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-21 11:04:57 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-21 11:04:57 +0200 |
| commit | fc1743af87bb0c91ec1e3bea2f59c3201abcbd22 (patch) | |
| tree | 08782a2ae006ef17d7f0d25ac5b4f9dfbb362ecd /mountain_pass | |
| parent | d26aa2dca1b14b7d52070825bfc73c5e8aed7a16 (diff) | |
refactor(ride,mountain_pass): remove dead code identified by deadcode analyzer
Diffstat (limited to 'mountain_pass')
| -rw-r--r-- | mountain_pass/detection.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mountain_pass/detection.go b/mountain_pass/detection.go index b71837b..09792e3 100644 --- a/mountain_pass/detection.go +++ b/mountain_pass/detection.go @@ -2,7 +2,6 @@ package mountain_pass import ( "database/sql" - "fmt" "math" "github.com/jftuga/geodist" @@ -163,8 +162,3 @@ func absFloat64(value float64) float64 { } return value } - -func (crossing Crossing) String() string { - return fmt.Sprintf("%s (%dm) at %.1fkm, %.0fm away, Δelev %.0fm", - crossing.Pass.Name, crossing.Pass.Elevation, crossing.RideDistanceM/1000, crossing.DistanceToM, crossing.ElevationDiff) -} |
