Beispiel #1
0
func prev(conn *client.Conn, args []string) {
	if key, value, existed := conn.Prev([]byte(args[1])); existed {
		fmt.Printf("%v => %v\n", string(key), decode(value))
	}
}