Skip to content

Commit

Permalink
doc: add comments for Field and IndexField
Browse files Browse the repository at this point in the history
Closes #158
  • Loading branch information
oleg-jukovec committed Mar 24, 2023
1 parent 56a13bc commit 8dc91dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ func (space *Space) DecodeMsgpack(d *msgpack.Decoder) error {
return nil
}

// Field is a schema field.
type Field struct {
Id uint32
Name string
Expand Down Expand Up @@ -266,6 +267,7 @@ func (index *Index) DecodeMsgpack(d *msgpack.Decoder) error {
return nil
}

// IndexFields is an index field.
type IndexField struct {
Id uint32
Type string
Expand Down

0 comments on commit 8dc91dd

Please sign in to comment.