From 8dc91dd7de5bac842cd14cd0ba46a1591b83ceac Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Fri, 24 Mar 2023 16:41:18 +0300 Subject: [PATCH] doc: add comments for Field and IndexField Closes #158 --- schema.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema.go b/schema.go index 525ceccae..6e8954536 100644 --- a/schema.go +++ b/schema.go @@ -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 @@ -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