From 7695e5f2c02c66044401bc0a506fcc66b5534b05 Mon Sep 17 00:00:00 2001 From: Dave Marco Date: Tue, 13 Aug 2024 19:01:45 +0000 Subject: [PATCH] refactor --- internal/irzstd/memory.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/irzstd/memory.go b/internal/irzstd/memory.go index 82e527e..2f6674f 100644 --- a/internal/irzstd/memory.go +++ b/internal/irzstd/memory.go @@ -12,7 +12,7 @@ import ( ) // Converts log events into Zstd compressed IR. Log events provided to writer are immediately -// converted to Zstd compressed IR and stored in [MemoryWriter.ZstdBuffer]. After the Zstd buffer +// converted to Zstd compressed IR and stored in [memoryWriter.ZstdBuffer]. After the Zstd buffer // receives logs, they are immediately sent to s3. type memoryWriter struct { zstdBuffer *bytes.Buffer @@ -30,7 +30,7 @@ type memoryWriter struct { // - size: Byte length // // Returns: -// - Writer: Writer for Zstd compressed IR +// - memoryWriter: Memory writer for Zstd compressed IR // - err: Error opening Zstd/IR writers func NewMemoryWriter(timezone string, size int) (*memoryWriter, error) { var zstdBuffer bytes.Buffer