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