Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
StructWriter = WriterType{templates.StructFilterTemplate}
)
Functions ¶
func Write ¶
func Write(dbStruct *MongoDBStruct, writerType WriterType, writer io.Writer) error
Types ¶
type MongoDBStruct ¶
type MongoDBStruct struct { Name string BsonTag string Fields []*Field NestedStructs []*MongoDBStruct }
func (MongoDBStruct) HasStructsInArray ¶
func (mds MongoDBStruct) HasStructsInArray() bool
type WriterType ¶
type WriterType struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.