Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API represents associative table modification actions. Associative table API is not REST since it doesn't return error if model doesn't exist : - Update - creates model if not exist or updates model if exist - Get - returns empty model if not exist or returns model if exist - Delete - returns does nothing if not exist or deletes model if exist
type AssociativeTable ¶
type Content ¶
type Content struct {
// contains filtered or unexported fields
}
func (Content) MarshalBSONValue ¶
MarshalBSONValue stores value to map because it's impossible to decode struct and array of struct to interface without bson.D and bson.D cannot be encoded to JSON properly. Try to use interface{} in mongo-driver > 1.3.7
func (*Content) UnmarshalBSONValue ¶
Click to show internal directories.
Click to hide internal directories.