Help us shape the future of Go! Take the 2026 Go Developer Survey

envfiles

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package envfiles merges the Layer-1 chain and the Layer-2 enumerated set into the final ordered COMPOSE_ENV_FILES list. Pure Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assemble

func Assemble(layer1, layer2 []string) ([]string, error)

Assemble returns Layer-1 (in chain order, secrets last by construction) followed by Layer-2, with any path present in both emitted once in its Layer-1 position. Variable precedence is last-wins by this order at docker-compose load time.

func Join

func Join(files []string) string

Join renders the assembled list as a COMPOSE_ENV_FILES value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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