mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-18 21:11:01 +01:00
fix linter error, mv const to config
This commit is contained in:
@@ -7,17 +7,10 @@ import (
|
||||
"github.com/ncw/directio"
|
||||
)
|
||||
|
||||
const (
|
||||
O_R = iota
|
||||
O_W
|
||||
O_RW
|
||||
)
|
||||
|
||||
// aligned allocs used for testing
|
||||
type Alloc struct {
|
||||
writeBlock []byte
|
||||
readBlock []byte
|
||||
mode int
|
||||
}
|
||||
|
||||
// zero the memory blocks
|
||||
|
||||
Reference in New Issue
Block a user