Skip to content

Commit

Permalink
fix keygen link
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperphoton committed Jan 14, 2022
1 parent a980ce0 commit 6f9bd9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ It's signature is `func(tableIdx int64) int64`.

For an example, see the [usage example](#usage-example) above.

We recommend you use the [keygen](https://github.com/longbridgeapp/gorm-sharding) component, it is a distributed primary key generator.
We recommend you use the [keygen](https://github.com/longbridgeapp/gorm-sharding/tree/main/keygen) component, it is a distributed primary key generator.

When use auto-increment like generator, the tableIdx argument could ignored.

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Whether to enable a full table.

可以参考上面的用法示例。

推荐使用 [keygen](https://github.com/longbridgeapp/gorm-sharding) 组件,它是一个分布式的主键生成器。
推荐使用 [keygen](https://github.com/longbridgeapp/gorm-sharding/tree/main/keygen) 组件,它是一个分布式的主键生成器。

当使用自增类的生成器时,tableIdx 参数可以忽略。

Expand Down

0 comments on commit 6f9bd9d

Please sign in to comment.