Skip to content

Commit c7d0a46

Browse files
committed
doc: add comments for Field and IndexField
Closes #158
1 parent ac4d16a commit c7d0a46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

schema.go

+2
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (space *Space) DecodeMsgpack(d *msgpack.Decoder) error {
151151
return nil
152152
}
153153

154+
// Field is a schema field.
154155
type Field struct {
155156
Id uint32
156157
Name string
@@ -266,6 +267,7 @@ func (index *Index) DecodeMsgpack(d *msgpack.Decoder) error {
266267
return nil
267268
}
268269

270+
// IndexFields is an index field.
269271
type IndexField struct {
270272
Id uint32
271273
Type string

0 commit comments

Comments
 (0)