Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ GetEnvAsUUID
Function
GetEnvAsUUID
config/config.go:107–115 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
105
}
106
107
func
GetEnvAsUUID(name string) (uuid.UUID, error) {
108
valStr := GetEnv(name,
""
)
109
110
val, err := uuid.Parse(valStr)
111
if
err != nil {
112
return
uuid.Nil, err
113
}
114
return
val, nil
115
}
Callers
1
Load
Function · 0.85
Calls
1
GetEnv
Function · 0.85
Tested by
no test coverage detected