envutil

package
v0.0.0-...-9f8a61a Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: BSD-3-Clause Imports: 1 Imported by: 0

README

GoDoc

golang.org/x/build/envutil

Package envutil provides utilities for working with environment variables.

Documentation

Overview

Package envutil provides utilities for working with environment variables.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedup

func Dedup(caseInsensitive bool, env []string) []string

Dedup returns a copy of env with any duplicates removed, in favor of later values. Items are expected to be on the normal environment "key=value" form. If caseInsensitive is true, the case of keys is ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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