replace zxq.co/ripple/hanayo
This commit is contained in:
19
vendor/github.com/pariz/gountries/subdivision.go
generated
vendored
Normal file
19
vendor/github.com/pariz/gountries/subdivision.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package gountries
|
||||
|
||||
// SubDivision contains Country subdivison information
|
||||
type SubDivision struct {
|
||||
Name string
|
||||
Names []string
|
||||
Code string
|
||||
|
||||
CountryAlpha2 string
|
||||
|
||||
Coordinates
|
||||
}
|
||||
|
||||
// MeasurableCoordinates provides long/lat for country struct
|
||||
func (sd *SubDivision) MeasurableCoordinates() (lat, long float64) {
|
||||
|
||||
return sd.Coordinates.Latitude, sd.Coordinates.Longitude
|
||||
|
||||
}
|
Reference in New Issue
Block a user