From 8b2bcd5a8535040680ea0c9b3fe435cddebce3ba Mon Sep 17 00:00:00 2001 From: mstmdev Date: Tue, 25 Apr 2023 23:06:09 +0800 Subject: [PATCH] chore: fix typo in the result.go (#2558) --- result.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/result.go b/result.go index 44741b01..cfd4cf92 100644 --- a/result.go +++ b/result.go @@ -82,7 +82,7 @@ func NewBoolSliceResult(val []bool, err error) *BoolSliceCmd { return &cmd } -// NewStringStringMapResult returns a StringStringMapCmd initialised with val and err for testing. +// NewMapStringStringResult returns a MapStringStringCmd initialised with val and err for testing. func NewMapStringStringResult(val map[string]string, err error) *MapStringStringCmd { var cmd MapStringStringCmd cmd.val = val @@ -114,7 +114,7 @@ func NewZSliceCmdResult(val []Z, err error) *ZSliceCmd { return &cmd } -// NewZWithKeyCmdResult returns a NewZWithKeyCmd initialised with val and err for testing. +// NewZWithKeyCmdResult returns a ZWithKeyCmd initialised with val and err for testing. func NewZWithKeyCmdResult(val *ZWithKey, err error) *ZWithKeyCmd { var cmd ZWithKeyCmd cmd.val = val