From 67216f758e3b374d4f54cdfb82ffab87325aae9c Mon Sep 17 00:00:00 2001 From: Jeremy Jay Date: Mon, 6 Nov 2023 22:24:35 -0500 Subject: [PATCH] fix typo --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs.go b/structs.go index bdfb613..bda396e 100644 --- a/structs.go +++ b/structs.go @@ -294,7 +294,7 @@ type NameValuePair struct { // CacheInfo describes cache properties of known content type CacheInfo struct { // Expiration time of the cached content (ISO 8601) - Expires string `json:"expires,optional"` + Expires string `json:"expires,omitempty"` // LastAccess time of the cached content (ISO 8601) LastAccess string `json:"lastAccess"`