This commit is contained in:
Sergey Bronnikov 2018-02-24 18:52:24 +03:00 committed by GitHub
parent 23958378a1
commit b308dca8df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,7 @@ db.Where(User{Name: "Jinzhu"}).FirstOrCreate(&user)
#### Attrs
Assgin struct with argument if record haven't been found
Assign struct with argument if record haven't been found
```go
// Unfound