all: fix typos (#2301)

This commit is contained in:
Zhizhen He
2022-01-29 16:30:31 +08:00
committed by GitHub
parent c7e544c959
commit 9da36e461f
9 changed files with 16 additions and 87 deletions

View File

@@ -64,7 +64,7 @@ type Annotation struct {
//
Size int64 `json:"size,omitempty"`
// Incremental defines the autoincremental behavior of a column. For example:
// Incremental defines the auto-incremental behavior of a column. For example:
//
// incrementalEnabled := true
// entsql.Annotation{
@@ -190,7 +190,7 @@ type IndexAnnotation struct {
//
Prefix uint
// PrefixColumns defines column prefixes for a multi column index.
// PrefixColumns defines column prefixes for a multi-column index.
// In MySQL, the following annotation maps to:
//
// index.Fields("c1", "c2", "c3").