From e9e231b809e7842697d3f04348fb533f19491e98 Mon Sep 17 00:00:00 2001 From: yourok <8yourok8@mail.ru> Date: Fri, 17 May 2019 10:52:54 +0300 Subject: [PATCH] refactor time --- src/server/torr/storage/state/state.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/server/torr/storage/state/state.go b/src/server/torr/storage/state/state.go index b896467..1ec9680 100644 --- a/src/server/torr/storage/state/state.go +++ b/src/server/torr/storage/state/state.go @@ -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