|
|
func DescribeEntry(e pb.Entry, f EntryFormatter) string {
|
|
func DescribeEntry(e pb.Entry, f EntryFormatter) string {
|
|
|
return fmt.Sprintf("%d/%d %s %s", e.Term, e.Index, e.Type, formatted)
|
|
return fmt.Sprintf("%d/%d %s %s", e.Term, e.Index, e.Type, formatted)
|