style: ID instead of Id

This commit is contained in:
2026-02-06 23:45:29 -05:00
parent a2355fcd56
commit 8b80cea32b
3 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ type Repr interface {
// Id returns to name of the objects underlying representation. If is
// assumed that if two Repr objects have the same Id(), they share the same
// representation.
Id() string
ID() string
Data() any
}
@@ -14,7 +14,7 @@ type baseRepr struct {
data any
}
func (r baseRepr) Id() string { return r.id }
func (r baseRepr) ID() string { return r.id }
func (r baseRepr) Data() any { return r.data }