Discover Packages
github.com/Pengxn/go-xn
src
config
package
Version:
v0.0.0
Opens a new window with list of versions in this module.
Published: Aug 25, 2020
License: Zlib
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
DBUrl will return database url
HomeDir detects and returns the home directory for the executing user.
This uses an OS-specific method for discovering the home directory.
An error is returned if a home directory cannot be detected.
type DBConfiguration struct {
User string `ini:"user"`
Password string `ini:"password"`
Port string `ini:"port"`
DBName string `ini:"name"`
DBUrl string `ini:"url"`
}
DBConfiguration is custom configuration for DB
Source Files
¶
Click to show internal directories.
Click to hide internal directories.