From c3da90f96a0c2112e0d4aa5fcae29057d3ddb2d0 Mon Sep 17 00:00:00 2001 From: Duncan Dam Date: Wed, 29 May 2024 13:04:17 +0700 Subject: [PATCH] update --- dgraphql/resolvers/trxcache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dgraphql/resolvers/trxcache.go b/dgraphql/resolvers/trxcache.go index 1255d873..94a06a31 100644 --- a/dgraphql/resolvers/trxcache.go +++ b/dgraphql/resolvers/trxcache.go @@ -9,14 +9,14 @@ import ( type TrxCache struct { capacity int data map[string]*list.Element - order *list.List + order list.List } func NewTrxCache(capacity int) *TrxCache { return &TrxCache{ capacity: capacity, data: make(map[string]*list.Element), - order: list.New(), + order: *list.New(), } }