Documentation ¶
Index ¶
Constants ¶
View Source
const ( DBName = "blog" PostColName = "posts" UserColName = "users" PostSeriesColName = "post_series" CategoryColName = "categories" )
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
var Instance *Type
func (*Type) GetCategoriesCol ¶
func (d *Type) GetCategoriesCol() *mgo.Collection
func (*Type) GetPostSeriesCol ¶
func (d *Type) GetPostSeriesCol() *mgo.Collection
func (*Type) GetPostsCol ¶
func (d *Type) GetPostsCol() *mgo.Collection
func (*Type) GetUsersCol ¶
func (d *Type) GetUsersCol() *mgo.Collection
Click to show internal directories.
Click to hide internal directories.