mirror of
https://github.com/vbatts/tar-split.git
synced 2024-12-18 11:36:30 +00:00
storage: Fix syntax of json tags
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
505d53c95c
commit
b1783bc86d
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ const (
|
|||
// collisions in a sample of 18.2 million, CRC64 had none.
|
||||
type Entry struct {
|
||||
Type Type `json:"type"`
|
||||
Name string `json:"name",omitempty`
|
||||
Size int64 `json:"size",omitempty`
|
||||
Name string `json:"name,omitempty"`
|
||||
Size int64 `json:"size,omitempty"`
|
||||
Payload []byte `json:"payload"` // SegmentType stores payload here; FileType stores crc64 checksum here;
|
||||
Position int `json:"position"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue