Skip to content

Commit

Permalink
make ticker reusable
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Jul 22, 2022
1 parent c9591a2 commit da36230
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ticker.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Start タイマーを開始
func (t *Ticker) Start() {
t.t = time.NewTicker(t.d)
defer t.t.Stop()
defer close(t.s)

for {
select {
Expand Down

0 comments on commit da36230

Please sign in to comment.