config

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDotEnv

func LoadDotEnv(path string) error

Types

type Config

type Config struct {
	PGHost     string
	PGPort     string
	PGUser     string
	PGPassword string
	PGDatabase string
	PGSSLMode  string
	StepsFile  string
	DBDir      string
}

func FromEnv

func FromEnv() *Config

func (*Config) ConnString

func (c *Config) ConnString() string

func (*Config) IsCI

func (c *Config) IsCI() bool

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

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