MCPcopy Index your code
hub / github.com/ardanlabs/conf

github.com/ardanlabs/conf @v3.12.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.12.0 ↗ · + Follow
96 symbols 169 edges 8 files 52 documented · 54% 2 cross-repo links updated 55d agov3.12.0 · 2026-05-14★ 318
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Conf

CircleCI Go Report Card go.mod Go version Go Reference

Copyright 2018, 2019, 2020, 2021, Ardan Labs
hello@ardanlabs.com

Licensing

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About The Project

Package conf provides support for using environmental variables and command line arguments for configuration.

All of the documentation can be found on the go.dev website.

Extension points exported contracts — how you extend this code

Setter (Interface)
Setter is implemented by types can self-deserialize values. Any type that implements flag.Value also implements Setter. [1 …
fields.go
Parsers (Interface)
Parsers declare behavior to extend the different parsers that can be used to unmarshal config. [1 implementers]
conf.go
ParseOption (FuncType)
ParseOption defines a functional option for configuring Parse behavior.
conf.go

Core symbols most depended-on inside this repo

Set
called by 7
fields.go
WithData
called by 5
yaml/yaml.go
extractFields
called by 4
fields.go
Len
called by 3
usage.go
interfaceFrom
called by 3
fields.go
getTypeAndHelp
called by 2
usage.go
getOptString
called by 2
usage.go
Error
called by 2
fields.go

Shape

Function 50
Struct 25
Method 16
Interface 3
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

conf_test.go32 symbols
conf.go16 symbols
fields.go15 symbols
sources.go14 symbols
usage.go10 symbols
example_test.go5 symbols
yaml/yaml.go4 symbols

Used by 2 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add conf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page