Skip to content

Commit ba125b0

Browse files
committed
Fix GoDoc references
1 parent bc26b1b commit ba125b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

log/keyvalue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func (a KeyValue) String() string {
387387
return fmt.Sprintf("%s:%s", a.Key, a.Value)
388388
}
389389

390-
// ValueFromAttribute converts [attribute.Value) to [Value].
390+
// ValueFromAttribute converts [attribute.Value] to [Value].
391391
func ValueFromAttribute(value attribute.Value) Value {
392392
switch value.Type() {
393393
case attribute.INVALID:
@@ -434,7 +434,7 @@ func ValueFromAttribute(value attribute.Value) Value {
434434
panic("unknown attribute type")
435435
}
436436

437-
// KeyValueFromAttribute converts [attribute.KeyValue) to [KeyValue].
437+
// KeyValueFromAttribute converts [attribute.KeyValue] to [KeyValue].
438438
func KeyValueFromAttribute(kv attribute.KeyValue) KeyValue {
439439
return KeyValue{
440440
Key: string(kv.Key),

0 commit comments

Comments
 (0)