Skip to content

Commit fb64d15

Browse files
committed
修复:Start() 返回值错误
1 parent c50e092 commit fb64d15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

diskqueue.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ func Start() (*Diskqueue, error) {
4949
queue.Unlock()
5050
}
5151
}()
52-
return queue
52+
53+
return queue, nil
5354
}
5455

5556
// Write data

0 commit comments

Comments
 (0)