//
pkg.gl
Category
github.com/davidddw/go-study
gostudy
demo06
18_mongodb_dao
package
0.0.0-20200310090925-1ce1b1296eb5
Repository:
https://github.com/davidddw/go-study.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
200 SLOC
#
Functions
GetSession
GetSession return client and context.
NewArticleDao
NewArticleDao new dao.
#
Constants
DbName
DbName table name.
Host
Host host ip.
Password
Password passwd.
Username
Username user.
#
Structs
Article
Article model.
ArticleDao
ArticleDao dao.