diff --git a/sdk/eventgrid/cache_test.go b/sdk/eventgrid/cache_test.go index 8641351..704b617 100644 --- a/sdk/eventgrid/cache_test.go +++ b/sdk/eventgrid/cache_test.go @@ -24,7 +24,7 @@ func ExampleCache() { myCache.Clear() fmt.Println(myCache.List()) // Output: - // [{ [] Microsoft.Storage.BlobCreated 0001-01-01 00:00:00 +0000 UTC } { [] Contoso.Buffalo.CacheProd 0001-01-01 00:00:00 +0000 UTC }] + // [{ [] Microsoft.Storage.BlobCreated } { [] Contoso.Buffalo.CacheProd }] // [] } diff --git a/sdk/eventgrid/subscriber.go b/sdk/eventgrid/subscriber.go index 388c403..dcd208f 100644 --- a/sdk/eventgrid/subscriber.go +++ b/sdk/eventgrid/subscriber.go @@ -4,7 +4,6 @@ import ( "encoding/json" "errors" "net/http" - "time" "github.com/gobuffalo/buffalo" ) @@ -19,7 +18,7 @@ type Event struct { Subject string `json:"subject"` Data json.RawMessage `json:"data"` EventType string `json:"eventType"` - EventTime time.Time `json:"eventTime"` + EventTime string `json:"eventTime"` MetadataVersion string `json:"metadataVersion"` DataVersion string `json:"dataVersion"` }