Discover Packages
git.tijl.dev/tijl/tijl.dev-v3
config
package
Version:
v0.0.0-...-f484def
Opens a new window with list of versions in this module.
Published: Mar 20, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
DB `yaml:"database"`
}
var Default Config = Config {
DB : DB {
User: "tijldev",
Passsword: "tijldev",
Database: "tijldev",
Host: "localhost",
Port: 5432,
},
}
type DB struct {
User string `yaml:"user"`
Passsword string `yaml:"password"`
Database string `yaml:"database"`
Host string `yaml:"host"`
Port int `yaml:"port"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.