Example #1
0
func first(conn *client.Conn, args []string) {
	if key, value, existed := conn.First([]byte(args[1])); existed {
		fmt.Println(string(key), "=>", decode(value))
	}
}