mirror of
https://github.com/redis/go-redis.git
synced 2025-06-06 17:40:59 +03:00
docs: fix documentation comments (#3351)
This commit is contained in:
parent
cacf44d3be
commit
cc27ec236a
@ -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 {
|
type MapMapStringInterfaceCmd struct {
|
||||||
baseCmd
|
baseCmd
|
||||||
val map[string]interface{}
|
val map[string]interface{}
|
||||||
|
@ -330,7 +330,7 @@ func (info LibraryInfo) Validate() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hello Set the resp protocol used.
|
// Hello sets the resp protocol used.
|
||||||
func (c statefulCmdable) Hello(ctx context.Context,
|
func (c statefulCmdable) Hello(ctx context.Context,
|
||||||
ver int, username, password, clientName string,
|
ver int, username, password, clientName string,
|
||||||
) *MapStringInterfaceCmd {
|
) *MapStringInterfaceCmd {
|
||||||
|
@ -480,7 +480,7 @@ func (c cmdable) HGetEX(ctx context.Context, key string, fields ...string) *Stri
|
|||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExpirationType represents an expiration option for the HGETEX command.
|
// HGetEXExpirationType represents an expiration option for the HGETEX command.
|
||||||
type HGetEXExpirationType string
|
type HGetEXExpirationType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user