Reorganize code for more granular imports
This commit is contained in:
13
common/shared.go
Normal file
13
common/shared.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package common
|
||||
|
||||
var (
|
||||
StatusChan chan WorkerStatus
|
||||
// ErrorsChan accepts errors from workers.
|
||||
// In case of fatal error, gracefully
|
||||
// exits the application.
|
||||
ErrorsChan chan error
|
||||
)
|
||||
|
||||
const VERSION string = "0.0.1"
|
||||
|
||||
const CtxKeyLogger string = "CtxKeyLogger"
|
||||
Reference in New Issue
Block a user