package main import "time" type TimeState struct { lastSuccessUpperTime time.Time } type TimeStateStore struct { } func (t TimeStateStore) SaveTimeState(ts TimeState) { }