github.com/scottcagno/storage@v1.8.0/pkg/_junk/_binary/entry.go (about) 1 package binary 2 3 import "fmt" 4 5 // Entry is a binary entry 6 type Entry struct { 7 Id int64 8 Key []byte 9 Value []byte 10 } 11 12 // String is the string method for an *Entry 13 func (e *Entry) String() string { 14 return fmt.Sprintf("entry.id=%d, entry.key=%q, entry.value=%q", e.Id, e.Key, e.Value) 15 }