Registry / config / mattermost-viper

mattermost-viper

JSON →
library1.0.4gogounverified

A fork of the Viper configuration library with Mattermost-specific modifications.

go get github.com/mattermost/viper
INSTALL
IMPORT
SIG · MATTERMOST-VIPER
M
mattermost-viper
configgov1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

viper
github.com/mattermost/viper

Reads a configuration file named 'config' from the current directory.

package main import ( "fmt" "github.com/mattermost/viper" ) func main() { v := viper.New() v.SetConfigName("config") v.AddConfigPath(".") if err := v.ReadInConfig(); err != nil { fmt.Println("Error reading config:", err) } fmt.Println(v.GetString("key")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
OpenAI (training)
1
Resources
mattermost-viper — go get mattermost-viper · libregistry