Update doc comment

Signed-off-by: gemaizi <864321211@qq.com>
This commit is contained in:
maizige 2022-05-26 00:01:45 +08:00 committed by GitHub
parent 08262454a3
commit 10b677b826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ import (
// IndexWriter serializes the index for a block of series data. // IndexWriter serializes the index for a block of series data.
// The methods must be called in the order they are specified in. // The methods must be called in the order they are specified in.
type IndexWriter interface { type IndexWriter interface {
// AddSymbols registers all string symbols that are encountered in series // AddSymbol registers a single symbol.
// and other indices. Symbols must be added in sorted order. // Symbols must be registered in sorted order.
AddSymbol(sym string) error AddSymbol(sym string) error
// AddSeries populates the index writer with a series and its offsets // AddSeries populates the index writer with a series and its offsets