Documentation ¶
Index ¶
Constants ¶
View Source
const (
MOD = os.FileMode(0744)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Path string Document DocumentInterface Index map[string]DocumentInterface }
func (*Collection) FindById ¶
func (this *Collection) FindById(id string) DocumentInterface
func (*Collection) Insert ¶
func (this *Collection) Insert(document DocumentInterface) bool
type CollectionInterface ¶
type CollectionInterface interface { FindById(id string) DocumentInterface Insert(document DocumentInterface) bool }
Click to show internal directories.
Click to hide internal directories.