Merge pull request #1101 from mex/patch-1
Fix typo in primary key section of docs
This commit is contained in:
commit
711e791bb5
@ -144,7 +144,7 @@ db.DB().SetMaxOpenConns(100)
|
|||||||
|
|
||||||
## Composite Primary Key
|
## Composite Primary Key
|
||||||
|
|
||||||
Set multiple fields as priamry key to enable composite primary key
|
Set multiple fields as primary key to enable composite primary key
|
||||||
|
|
||||||
```go
|
```go
|
||||||
type Product struct {
|
type Product struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user