mirror of
https://github.com/taigrr/most-specific-period.git
synced 2026-04-02 03:38:41 -07:00
- Update go.mod to Go 1.26
- Fix help text typos ('menut' → 'menu', 'most-significant' → 'most-specific')
- Fix error comment typo ('ll' → 'all')
- Remove unnecessary fmt.Sprintf in test names
- Remove unused fmt imports from test files
- Add compile-time interface check for TimeWindow
13 lines
190 B
Go
13 lines
190 B
Go
package msp
|
|
|
|
import "time"
|
|
|
|
// Compile-time interface check.
|
|
var _ Period = TimeWindow{}
|
|
|
|
type Period interface {
|
|
GetStartTime() time.Time
|
|
GetEndTime() time.Time
|
|
GetIdentifier() string
|
|
}
|