func PullRDB(country_name string, c *redis.Client) []string {
	reply, _ := c.Smembers(country_name)
	str := reply.StringArray()
	return str
}
Exemple #2
0
func GetCountries(c *redis.Client) []string {
	reply, _ := c.Smembers("countries")
	str := reply.StringArray()
	return str
}