Documentation ¶ Overview ¶ Package envutil provides utilities for working with environment variables. Index ¶ func Dedup(caseInsensitive bool, env []string) []string 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. Source Files ¶ View all Source files dedup.go Click to show internal directories. Click to hide internal directories.