- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for copyStringInterfaceMap (0.14 sec)
-
pkg/log/scope.go
func (s *Scope) GetLogCallers() bool { return s.logCallers.Load().(bool) } // copy makes a copy of s and returns a pointer to it. func (s *Scope) copy() *Scope { out := *s out.labels = copyStringInterfaceMap(s.labels) return &out } // WithLabels adds a key-value pairs to the labels in s. The key must be a string, while the value may be any type. // It returns a copy of s, with the labels added.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 16:47:01 UTC 2024 - 10.7K bytes - Viewed (0)