package
Version:
v0.8.6
Opens a new window with list of versions in this module.
Published: Nov 22, 2019
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Module() interface{}
Module for postgres
type Config struct {
DBName string `required:"true" default:"typical-rest"`
User string `required:"true" default:"postgres"`
Password string `required:"true" default:"pgpass"`
Host string `default:"localhost"`
Port int `default:"5432"`
}
Config is postgres configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.