Skip to content

Commit

Permalink
Add stringer to the interface. (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
cabrador authored Sep 24, 2024
1 parent 5c737f7 commit 98ad2e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion go/carmen/memory_footprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@

package carmen

import "github.com/Fantom-foundation/Carmen/go/common"
import (
"fmt"

"github.com/Fantom-foundation/Carmen/go/common"
)

type MemoryFootprint interface {
fmt.Stringer
// Total provides the number of bytes consumed by the database structure including all its subcomponents.
Total() uint64
}
Expand Down

0 comments on commit 98ad2e9

Please sign in to comment.