maria-driver

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2020 License: MIT

README

maria-driver

Install

$ go get github.com/innotechdevops/maria-driver

How to use

  • Wtih env
driver := mariadriver.New(mariadriver.ConfigEnv())
  • With config
driver := mariadriver.New(mariadriver.Config{
    User:         os.Getenv("MARIA_USER"),
    Pass:         os.Getenv("MARIA_PASS"),
    Host:         os.Getenv("MARIA_HOST"),
    DatabaseName: os.Getenv("MARIA_DATABASE"),
    Port:         mariadriver.DefaultPort,
})

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL