func AdjustBy(top, bottom int) func(model Model) Model { return func(model Model) Model { return Model{ top: counter.Init(int(model.top) + top), bottom: counter.Init(int(model.bottom) + bottom), } } }
func Init(top, bottom int) Model { return Model{ top: counter.Init(top), bottom: counter.Init(bottom), } }