Permalink
Browse files

Added a note about containers and structs (from yanatan16 on github)

  • Loading branch information...
1 parent 9d4dfe5 commit daf05cf0de9962a392a3378742d64bf46eae31ff @pomack committed Nov 5, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 lib/go/src/thrift/tlist.go
  2. +1 −0 lib/go/src/thrift/tset.go
@@ -26,6 +26,7 @@ import (
/**
* Helper class that encapsulates list metadata.
*
+ * Note that lists of structs requires pointers, not struct values.
*/
type TList interface {
TContainer
@@ -27,6 +27,7 @@ import (
/**
* Helper class that encapsulates set metadata.
*
+ * Note that sets of structs requires pointers, not struct values.
*/
type TSet interface {
TContainer

0 comments on commit daf05cf

Please sign in to comment.