MCPcopy
hub / github.com/docker/compose / keys

Function keys

internal/tracing/attributes.go:162–168  ·  view source on GitHub ↗
(m map[string]T)

Source from the content-addressed store, hash-verified

160}
161
162func keys[T any](m map[string]T) []string {
163 out := make([]string, 0, len(m))
164 for k := range m {
165 out = append(out, k)
166 }
167 return out
168}
169
170func timeAttr(key string, value time.Time) attribute.KeyValue {
171 return attribute.String(key, value.Format(time.RFC3339))

Callers 2

ProjectOptionsFunction · 0.85
ServiceOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected