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

keychain

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package keychain links the OS keychain credential backend and declares it as a feature. A tool activates keychain support by blank-importing this package from its main (the generator writes cmd/<name>/keychain.go to do so); the import registers go/credentials/keychain's backend and declares the "keychain" feature as a link kind, so the running tool's feature set, doctor and the generator's catalogue all know the binary carries it (spec 0199 OQ3, spec 0197 D8).

Deleting the import produces a regulated build: linker dead-code elimination keeps go-keyring, godbus and wincred out of the artefact, and the feature is simply not declared.

Index

Constants

View Source
const KeychainFeature = props.FeatureID("keychain")

KeychainFeature is the feature this import declares.

View Source
const PackagePath = "gitlab.com/phpboyscout/go-tool-base/pkg/setup/keychain"

PackagePath is this package's import path, the ConstPackage the descriptor carries so generated source can qualify KeychainFeature.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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