From d001bbee9984e7b403a782ed19ffe7300cb60c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=9Fur=20=C3=96zy=C4=B1lmazel?= Date: Mon, 23 Oct 2023 14:01:40 +0300 Subject: [PATCH] fix typo --- src/internal/kverror/kverror.go | 2 +- src/internal/storage/memory/kvstorage/base.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/kverror/kverror.go b/src/internal/kverror/kverror.go index f9d67bc..551c00c 100644 --- a/src/internal/kverror/kverror.go +++ b/src/internal/kverror/kverror.go @@ -21,7 +21,7 @@ type KVError interface { Error() string } -// Error is a type alias, custom error. +// Error is a custom type definition uses struct, custom error. type Error struct { Err error Message string diff --git a/src/internal/storage/memory/kvstorage/base.go b/src/internal/storage/memory/kvstorage/base.go index 42e3ed2..9dd8a09 100644 --- a/src/internal/storage/memory/kvstorage/base.go +++ b/src/internal/storage/memory/kvstorage/base.go @@ -6,7 +6,7 @@ import ( var _ Storer = (*memoryStorage)(nil) // compile time proof -// MemoryDB is a type alias for in memory-db type. +// MemoryDB is a custom type definition uses map[string]any for in memory-db type. type MemoryDB map[string]any // Storer defines storage behaviours.