susumu.yata
null+****@clear*****
Mon Jun 22 09:58:50 JST 2015
susumu.yata 2015-06-22 09:58:50 +0900 (Mon, 22 Jun 2015) New Revision: 96826808a6c03f35a4003ec73e50ca6af647afbf https://github.com/groonga/grngo/commit/96826808a6c03f35a4003ec73e50ca6af647afbf Message: Add a comment about relationships among Groonga and Golang data types. GitHub: #3 Modified files: grngo.go Modified: grngo.go (+10 -0) =================================================================== --- grngo.go 2015-06-22 09:35:31 +0900 (b62ecd1) +++ grngo.go 2015-06-22 09:58:50 +0900 (60e8448) @@ -15,6 +15,16 @@ import ( // -- Data types -- +// Relationships among Groonga and Golang built-in data types are as follows: +// +// - ID: uint32 +// - Bool: bool +// - (U)Int8/16/32/64: int64 +// - Float: float64 +// - Time: TODO +// - WGS84/TokyoGeoPoint: GeoPoint +// - Text: []byte + type GeoPoint struct{ Latitude, Longitude int32 } func NullID() uint32 { return uint32(C.GRN_ID_NIL) } -------------- next part -------------- HTML����������������������������...Download