MCPcopy Create free account
hub / github.com/One-com/gone / DefaultSubConfig

Function DefaultSubConfig

jconf/subconfig.go:45–47  ·  view source on GitHub ↗

DefaultSubConfig returns a placeholder value which can be assigned to any field which is an OptionalSubConfig to indicate that if the value is missing it should be assumed to be an empty JSON object ("{}") and passed into any ParseInto() call on the SubConfig. This allows for default values to be sp

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ExampleDefaultSubConfigFunction · 0.85

Calls

no outgoing calls

Tested by 1

ExampleDefaultSubConfigFunction · 0.68