Skip to content

Commit

Permalink
docs: update README.ZH_CN.md (go-gorm#643)
Browse files Browse the repository at this point in the history
* Update README.ZH_CN.md

fix spell

* Update README.md

fix spell

Co-authored-by: liguangsheng <[email protected]>
  • Loading branch information
liguangsheng and liguangsheng authored Sep 9, 2022
1 parent 9f575a4 commit e9a4a83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.ZH_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ g.ApplyInterface(func(method model.Method) {}, model.User{}, g.GenerateModel("co
// {{if name !=""}}
// name=@name
// {{end}}
methond(name string) (gen.T,error)
method(name string) (gen.T,error)
```

SQL模板使用案例:
Expand Down Expand Up @@ -1874,7 +1874,7 @@ select * from @@table where
// {{where}}
// id=@id
// {{end}}
methond(id int) error
method(id int) error
```

SQL模板使用案例:
Expand Down Expand Up @@ -1903,7 +1903,7 @@ select * from @@table
// name=@name
// {{end}}
// where id=@id
methond(name string,id int) error
method(name string,id int) error
```

SQL模板使用案例:
Expand Down Expand Up @@ -1932,7 +1932,7 @@ where id=@id
// {{for _,name:=range names}}
// and name=@name
// {{end}}
methond(names []string) (gen.T,error)
method(names []string) (gen.T,error)
```

SQL 模板使用案例:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1831,7 +1831,7 @@ Use case in raw SQL:
// {{if name !=""}}
// name=@name
// {{end}}
methond(name string) (gen.T,error)
method(name string) (gen.T,error)
```

Use case in raw SQL template:
Expand Down Expand Up @@ -1868,7 +1868,7 @@ Use case in raw SQL
// {{where}}
// id=@id
// {{end}}
methond(id int) error
method(id int) error
```

Use case in raw SQL template
Expand Down Expand Up @@ -1897,7 +1897,7 @@ Use case in raw SQL
// name=@name
// {{end}}
// where id=@id
methond(name string,id int) error
method(name string,id int) error
```

Use case in raw SQL template
Expand Down Expand Up @@ -1925,7 +1925,7 @@ Use case in raw SQL:
// {{for _,name:=range names}}
// and name=@name
// {{end}}
methond(names []string) (gen.T,error)
method(names []string) (gen.T,error)
```

Use case in raw SQL template:
Expand Down

0 comments on commit e9a4a83

Please sign in to comment.