susumu.yata
null+****@clear*****
Wed Jun 24 09:33:56 JST 2015
susumu.yata 2015-06-24 09:33:56 +0900 (Wed, 24 Jun 2015) New Revision: 9bdc16cb6508902364a173907953907f7690efac https://github.com/groonga/grngo/commit/9bdc16cb6508902364a173907953907f7690efac Message: Add comments to GeoPoint. GitHub: #8 Modified files: grngo.go Modified: grngo.go (+5 -1) =================================================================== --- grngo.go 2015-06-24 09:24:39 +0900 (8b71576) +++ grngo.go 2015-06-24 09:33:56 +0900 (cac3f2e) @@ -23,7 +23,11 @@ import ( // - WGS84/TokyoGeoPoint: GeoPoint // - (Short/Long)Text: []byte -type GeoPoint struct{ Latitude, Longitude int32 } +// GeoPoint represents a coordinate of latitude and longitude. +type GeoPoint struct { + Latitude int32 // Latitude in milliseconds. + Longitude int32 // Longitude in milliseconds. +} const NilID = uint32(C.GRN_ID_NIL) -------------- next part -------------- HTML����������������������������... Descargar