Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vigo committed Oct 23, 2023
1 parent bb10c55 commit d001bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/internal/kverror/kverror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/internal/storage/memory/kvstorage/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d001bbe

Please sign in to comment.