refactor time

This commit is contained in:
yourok
2019-05-17 10:52:54 +03:00
parent 2372ffc74c
commit e9e231b809

View File

@@ -1,9 +1,5 @@
package state package state
import (
"time"
)
type CacheState struct { type CacheState struct {
Hash string Hash string
Capacity int64 Capacity int64
@@ -15,7 +11,7 @@ type CacheState struct {
type ItemState struct { type ItemState struct {
Id int Id int
Accessed time.Time Accessed int64
BufferSize int64 BufferSize int64
Completed bool Completed bool
Hash string Hash string