Categorygithub.com/lyf-coder/easy-db
module
0.2.0
Repository: https://github.com/lyf-coder/easy-db.git
Documentation: pkg.go.dev

# README

easy-db

easy-db is easy way to access database

Actions GoDoc Go Report Card

Install

go get github.com/lyf-coder/easy-db/db

Usage

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   	

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author