update String format

This commit is contained in:
lionsoul2014 2025-12-04 14:14:40 +08:00
parent 2a8e3444d4
commit ace0c7f300
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type Version struct {
func (v *Version) String() string { func (v *Version) String() string {
return fmt.Sprintf( return fmt.Sprintf(
"id:%d, name:%s, bytes:%d, segment_index_size:%d", "{id:%d, name:%s, bytes:%d, segment_index_size:%d}",
v.Id, v.Name, v.Bytes, v.SegmentIndexSize, v.Id, v.Name, v.Bytes, v.SegmentIndexSize,
) )
} }