You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
780 B
18 lines
780 B
10 months ago
|
package main
|
||
|
|
||
|
import "github.com/go-redis/redis/v9"
|
||
|
|
||
|
var citiesDemo = []*redis.GeoLocation{
|
||
|
{Name: "chansha", Longitude: 113.00000, Latitude: 28.21667},
|
||
|
{Name: "beijing", Longitude: 116.41667, Latitude: 39.91667},
|
||
|
{Name: "shanghai", Longitude: 121.43333, Latitude: 34.50000},
|
||
|
{Name: "guangzhou", Longitude: 113.23333, Latitude: 23.16667},
|
||
|
{Name: "shenzhen", Longitude: 114.06667, Latitude: 22.61667},
|
||
|
{Name: "tianjin", Longitude: 117.20000, Latitude: 39.13333},
|
||
|
{Name: "hangzhou", Longitude: 120.20000, Latitude: 30.26667},
|
||
|
{Name: "chengdu", Longitude: 104.06667, Latitude: 30.66667},
|
||
|
{Name: "xian", Longitude: 108.95000, Latitude: 34.26667},
|
||
|
{Name: "changchun", Longitude: 125.35000, Latitude: 43.88333},
|
||
|
{Name: "wulumuqi", Longitude: 87.68333, Latitude: 43.76667},
|
||
|
}
|