4bc322352f
os.SEEK_XXX is not deprecated and we can use io.SeekXxx instead. https://golang.org/pkg/os/#pkg-constants ```go // Seek whence values. // // Deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. const ( SEEK_SET int = 0 // seek relative to the origin of the file SEEK_CUR int = 1 // seek relative to the current offset SEEK_END int = 2 // seek relative to the end ) ``` https://golang.org/pkg/io/#pkg-constants ```go // Seek whence values. const ( SeekStart = 0 // seek relative to the origin of the file SeekCurrent = 1 // seek relative to the current offset SeekEnd = 2 // seek relative to the end ) ``` |
||
---|---|---|
.. | ||
keyvaluestore_test.go | ||
keyvaluestore.go |