Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ Text
Method
Text
command.go:506–511 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
504
}
505
506
func
(cmd *Cmd) Text() (string, error) {
507
if
cmd.err != nil {
508
return
""
, cmd.err
509
}
510
return
toString(cmd.val)
511
}
512
513
func
toString(val
interface
{}) (string, error) {
514
switch
val := val.(
type
) {
Callers
4
commands_test.go
File · 0.80
Example_customCommand2
Function · 0.80
TestInitConnNilMaintNotificationsConfig
Function · 0.80
readReply
Method · 0.80
Calls
1
toString
Function · 0.85
Tested by
2
Example_customCommand2
Function · 0.64
TestInitConnNilMaintNotificationsConfig
Function · 0.64