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