Skip to content

Commit 3ae9e3d

Browse files
committed
Fix format
1 parent dccddc4 commit 3ae9e3d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/inserter/model.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
package inserter
22

3+
// CollectionName - Name of collection
34
type CollectionName string
45

56
// Collection - JSONやYAMLのモデル
67
type Collection struct {
7-
Version string `json:"version" yaml:"version"`
8+
Version string `json:"version" yaml:"version"`
89
Items []Document `json:"items" yaml:"version"`
910
}
1011

1112
// Document - Modelが持つアイテム
1213
type Document struct {
13-
Ref string `json:"ref" yaml:"ref"`
14-
Payload map[string]interface{} `json:"payload" yaml:"payload"`
14+
Ref string `json:"ref" yaml:"ref"`
15+
Payload map[string]interface{} `json:"payload" yaml:"payload"`
1516
SubCollections map[CollectionName][]Document `json:"sub_collections"`
1617
}

0 commit comments

Comments
 (0)