Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/minio/minio-go
/ envOr
Function
envOr
cmd/rdma-test/main.go:31–36 ·
view source on GitHub ↗
(k, d string)
Source
from the content-addressed store, hash-verified
29
)
30
31
func
envOr(k, d string) string {
32
if
v := os.Getenv(k); v !=
""
{
33
return
v
34
}
35
return
d
36
}
37
38
func
main() {
39
if
err := run(); err != nil {
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected