package commands import "redisClone/pkg/core" func Exists(args []string, getShard func(k string) *core.Shard) interface{}{ _, exists := getShard(args[1]).Data[args[1]] if exists { return 1 } else { return 0 } }