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
import (
"time"
)
type CacheState struct {
Hash string
Capacity int64
@@ -15,7 +11,7 @@ type CacheState struct {
type ItemState struct {
Id int
Accessed time.Time
Accessed int64
BufferSize int64
Completed bool
Hash string