MCPcopy
hub / github.com/redis/go-redis / WithLibraryVersion

Function WithLibraryVersion

command.go:7883–7885  ·  view source on GitHub ↗

WithLibraryVersion returns a valid LibraryInfo with library version only.

(libVer string)

Source from the content-addressed store, hash-verified

7881
7882// WithLibraryVersion returns a valid LibraryInfo with library version only.
7883func WithLibraryVersion(libVer string) LibraryInfo {
7884 return LibraryInfo{LibVer: &libVer}
7885}
7886
7887// -------------------------------------------
7888

Callers 1

initConnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected