1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-05 06:42:39 +03:00

docs: fix documentation comments (#3351)

This commit is contained in:
Glenn 2025-04-21 22:11:00 -07:00 committed by Nedyalko Dyakov
parent cacf44d3be
commit cc27ec236a
No known key found for this signature in database
GPG Key ID: 5571106A08EA25A3
3 changed files with 4 additions and 3 deletions

View File

@ -3831,7 +3831,8 @@ func (cmd *MapStringStringSliceCmd) readReply(rd *proto.Reader) error {
}
// -----------------------------------------------------------------------
// MapStringInterfaceCmd represents a command that returns a map of strings to interface{}.
// MapMapStringInterfaceCmd represents a command that returns a map of strings to interface{}.
type MapMapStringInterfaceCmd struct {
baseCmd
val map[string]interface{}

View File

@ -330,7 +330,7 @@ func (info LibraryInfo) Validate() error {
return nil
}
// Hello Set the resp protocol used.
// Hello sets the resp protocol used.
func (c statefulCmdable) Hello(ctx context.Context,
ver int, username, password, clientName string,
) *MapStringInterfaceCmd {

View File

@ -480,7 +480,7 @@ func (c cmdable) HGetEX(ctx context.Context, key string, fields ...string) *Stri
return cmd
}
// ExpirationType represents an expiration option for the HGETEX command.
// HGetEXExpirationType represents an expiration option for the HGETEX command.
type HGetEXExpirationType string
const (