RPOP
Syntax
LPOP key
Module
listCategories
list write fastDescription
Removes and returns the last element of a list.
Examples
- Go (Embedded)
- CLI
Removes and returns the last element of a list:
vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
element, err := vault.RPop("key")
Removes and returns the last element of a list:
> RPOP key