FAQ
I was looking for a quick solution for marshaling this rbtree recursive
data structure github.com/yasushi-saito/rbtree. I stick it into gob and try
to encode and it seems to be lost in an infinite loop. Just looking for a
place to begin.

-Thanks

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Rémy Oudompheng at Jul 28, 2013 at 11:41 pm
    Le 29 juil. 2013 01:35, "Todd Gruben" <tgruben@gmail.com> a écrit :
    I was looking for a quick solution for marshaling this rbtree recursive
    data structure github.com/yasushi-saito/rbtree. I stick it into gob and try
    to encode and it seems to be lost in an infinite loop. Just looking for a
    place to begin.
    >

    I don't see how you can get an infinite loop. But certainly it can't be
    encoded, having no exported fields.

    Rémy.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Dan Kortschak at Jul 28, 2013 at 11:49 pm
    code.google.com/p/biogo.llrb was designed to allow gob encoding if
    needed so all the fields are exported (unless you store items with
    unexported fields).
    On Mon, 2013-07-29 at 01:41 +0200, Rémy Oudompheng wrote:
    I don't see how you can get an infinite loop. But certainly it can't
    be encoded, having no exported fields.

    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedJul 28, '13 at 11:34p
activeJul 28, '13 at 11:49p
posts3
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase