Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hwholiday/learning_tools
/ WithNamespace
Function
WithNamespace
hconfig/apollo/options.go:54–58 ·
view source on GitHub ↗
(namespace string)
Source
from the content-addressed store, hash-verified
52
}
53
54
func
WithNamespace(namespace string) Option {
55
return
func
(o *options) {
56
o.namespace = namespace
57
}
58
}
59
60
func
NewOptions(opts ...Option) *options {
61
options := &options{
Callers
2
TestNewHConfig_Apollo
Function · 0.92
TestNewEtcdConfig
Function · 0.70
Calls
no outgoing calls
Tested by
2
TestNewHConfig_Apollo
Function · 0.74
TestNewEtcdConfig
Function · 0.56