Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mgo r2011.08.21
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gustavo Niemeyer  
View profile  
 More options Aug 21 2011, 12:40 am
From: Gustavo Niemeyer <gust...@niemeyer.net>
Date: Sun, 21 Aug 2011 01:40:37 -0300
Local: Sun, Aug 21 2011 12:40 am
Subject: [ANN] mgo r2011.08.21
Greetings,

Another update to the mgo MongoDB driver for Go was just
released. The project page with details is available at:

    http://labix.org/mgo

Release r2011.08.21 is fully compatible with the previous
release of mgo, and is still compatible with the current
stable release of Go.  The following changes were made:

- gobson now supports a new ",inline" tag for struct fields.
  If it's used in a struct value field, all the fields of
  the inner struct will be processed by gobson as if they
  were in the outer struct.  This enables more easily
  composing types when the stored data has common fields
  across several collections.

  In the following example, a Programmer will be
  marshalled as {"name": <str>, "cango": <bool>}:

      type Person struct
          Name string
      }

      type Programmer struct {
          Person ",inline"
          CanGo bool
      }

  More details in the documentation:

      http://goneat.org/lp/gobson/bson#Marshal

- GridFile now implements a Seek method compatible with
  os.File, allowing repositioning the file offset and
  reading from arbitrary locations.  More details at:

      http://goneat.org/lp/mgo#GridFile.Seek

- The readahead logic within GridFile now prevents a potential
  panic that might happen if the session was closed immediately
  after Read was called in a chunk boundary and the background
  readahead behavior was initiated.

--
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/plus
http://niemeyer.net/twitter
http://niemeyer.net/blog

-- I never filed a patent.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »