config

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package config reads the settings the application starts with.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(s *di.Scope)

Module registers the configuration as a value. A test overrides it with s.Value(config.Config{...}).Override() and everything downstream follows.

Types

type Config

type Config struct {
	Addr string
	DSN  string
}

func Load

func Load() Config

Jump to

Keyboard shortcuts

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