gitea/modules/queue
Wim cb50375e2b
Add more linters to improve code readability ()
Add nakedret, unconvert, wastedassign, stylecheck and nolintlint linters to improve code readability

- nakedret - https://github.com/alexkohler/nakedret - nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.
- unconvert - https://github.com/mdempsky/unconvert - Remove unnecessary type conversions
- wastedassign - https://github.com/sanposhiho/wastedassign -  wastedassign finds wasted assignment statements.
- notlintlint -  Reports ill-formed or insufficient nolint directives
- stylecheck - https://staticcheck.io/docs/checks/#ST - keep style consistent
  - excluded: [ST1003 - Poorly chosen identifier](https://staticcheck.io/docs/checks/#ST1003) and [ST1005 - Incorrectly formatted error string](https://staticcheck.io/docs/checks/#ST1005)
..
bytefifo.go Pause queues ()
helper.go Add more linters to improve code readability ()
manager.go Add number in queue status to monitor page ()
queue.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
queue_bytefifo.go Add more linters to improve code readability ()
queue_channel.go Add Goroutine stack inspector to admin/monitor ()
queue_channel_test.go Prevent intermittent NPE in queue tests ()
queue_disk.go Pause queues ()
queue_disk_channel.go Add more linters to improve code readability ()
queue_disk_channel_test.go Prevent intermittent NPE in queue tests ()
queue_disk_test.go Pause queues ()
queue_redis.go Pause queues ()
queue_test.go Add an abstract json layout to make it's easier to change json library ()
queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
setting.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this ()
unique_queue_channel.go Add Goroutine stack inspector to admin/monitor ()
unique_queue_channel_test.go Add Goroutine stack inspector to admin/monitor ()
unique_queue_disk.go Pause queues ()
unique_queue_disk_channel.go Add more linters to improve code readability ()
unique_queue_redis.go Pause queues ()
unique_queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable ()
workerpool.go Fix 64-bit atomic operations on 32-bit machines ()