easy-db is easy way to access database
go get github.com/lyf-coder/easy-db/db
import (
"github.com/lyf-coder/easy-db/db"
"github.com/lyf-coder/easy-db/connect"
)
var config = connect.Config{
DbType: "DbType",
UserName: "UserName",
Password: "Password",
DatabaseName: "DatabaseName",
Host: "ip",
Port: "27017",
Options: nil,
}
var db = New(&config)
// exec Db interface func