Skip to content

Commit

Permalink
gg支持泛型
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghui0779 committed Jan 16, 2025
1 parent 169b3fd commit 271d4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ yiigo ent hello # 创建Ent实例

`protoc-gen-go` 启发,为结构体生成 `Get` 方法【支持泛型!!!】,以避免空指针引起的Panic

Generate `Get` method for structure, inspired by `protoc-gen-go`, to avoid Panic caused by null pointer
Generate `Get` method for structure (support generics !!!), inspired by `protoc-gen-go`, to avoid Panic caused by null pointer

#### 安装

Expand Down

0 comments on commit 271d4d1

Please sign in to comment.