# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# README
Go Module Database
Database modules, this modules designed to concurrent safe
Faltar Database use :
- ElasticSearch v7.17.1 as Elasticsearch.
- Gorm v1.23.8 as Gorm.
- Go Redis v8.11.5
Installation
go get github.com/fajarardiyanto/flt-go-database
Upgrading to the latest version
go get -u github.com/fajarardiyanto/flt-go-database
Upgrade or downgrade with tag version if available
go get -u github.com/fajarardiyanto/[email protected]
Usage
package main
import (
"github.com/fajarardiyanto/flt-go-database/lib"
)
func main() {
db := lib.NewLib()
db.Init("Test Database Modules")
}
Run Example
make help
Tips
Maybe it would be better to do some basic code scanning before pushing to the repository.
# for *.nix users just run gosec.sh
# curl is required
# more information https://github.com/securego/gosec
make scan