[Groonga-commit] groonga/grngo at 8cc3094 [master] Document the relationships among Groonga and Golang built-in data types.

Back to archive index

susumu.yata null+****@clear*****
Wed Jun 24 15:39:15 JST 2015


susumu.yata	2015-06-24 15:39:15 +0900 (Wed, 24 Jun 2015)

  New Revision: 8cc309422bbb0be1ce696850660c5e3285325025
  https://github.com/groonga/grngo/commit/8cc309422bbb0be1ce696850660c5e3285325025

  Message:
    Document the relationships among Groonga and Golang built-in data types.
    
    GitHub: #8

  Modified files:
    grngo.go

  Modified: grngo.go (+11 -11)
===================================================================
--- grngo.go    2015-06-24 15:34:01 +0900 (da59f90)
+++ grngo.go    2015-06-24 15:39:15 +0900 (2581b80)
@@ -14,16 +14,6 @@ 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: int64
-// - WGS84/TokyoGeoPoint: GeoPoint
-// - (Short/Long)Text: []byte
-
 // GeoPoint represents a coordinate of latitude and longitude.
 type GeoPoint struct {
 	Latitude  int32 // Latitude in milliseconds.
@@ -39,7 +29,17 @@ const NilID = uint32(C.GRN_ID_NIL)
 // See http://groonga.org/docs/reference/types.html for details.
 type DataType int
 
-// Time (int64) is the number of microseconds elapsed since the Unix epoch.
+// 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: int64
+//   WGS84/TokyoGeoPoint: GeoPoint
+//   (Short/Long)Text: []byte
+//
+// Note that Time (int64) represents the number of microseconds elapsed since
+// the Unix epoch.
 //
 // See http://groonga.org/docs/reference/types.html for details.
 const (
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index