Skip to content

Commit

Permalink
docs: improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Mar 31, 2020
1 parent d9d27be commit 92e8cfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/traffic/historicalspeed/historical_speeds.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (s *Speeds) Load() error {
}

// QueryHistoricalSpeed return the speed for a way at a specified time
// wayID: positive means forward, negative means backward
// wayID: positive means travel forward, which is travel following edge's point sequence, negative means backward
// t: UTC time
func (s *Speeds) QueryHistoricalSpeed(wayID int64, t time.Time) (float64, bool) {

Expand Down
2 changes: 1 addition & 1 deletion integration/traffic/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "time"
type HistoricalSpeedQuerier interface {

// QueryHistoricalSpeed return the speed for a way at a specified time
// wayID: positive means forward, negative means backward
// wayID: positive means travel forward, which is travel following edge's point sequence, negative means backward
// t: UTC time
QueryHistoricalSpeed(wayID int64, t time.Time) (float64, bool)
}

0 comments on commit 92e8cfb

Please sign in to comment.