Documentation ¶ Index ¶ func ReadYAML(path string, cfg *PostgresConfig) error type PostgresConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ReadYAML ¶ func ReadYAML(path string, cfg *PostgresConfig) error Types ¶ type PostgresConfig ¶ type PostgresConfig struct { Host string `yaml:"host"` Port int `yaml:"port"` DB string `yaml:"db"` Username string `yaml:"username"` Password string `yaml:"password"` } Source Files ¶ View all Source files config.go reader.go Click to show internal directories. Click to hide internal directories.