Fix typo
This commit is contained in:
parent
a42f9bf439
commit
05e6a65ee1
@ -2,7 +2,7 @@
|
||||
|
||||
The fantastic ORM library for Golang, aims to be developer friendly.
|
||||
|
||||
[](https://goreportcard.com/report/gorm.io/gorm)
|
||||
[](https://goreportcard.com/report/github.com/go-gorm/gorm)
|
||||
[](https://app.wercker.com/project/byKey/55136410c77335a6289ebd58b2f70125)
|
||||
[](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://opencollective.com/gorm)
|
||||
|
@ -196,7 +196,7 @@ func ConvertToCreateValues(stmt *gorm.Statement) clause.Values {
|
||||
values = clause.Values{Columns: make([]clause.Column, 0, len(stmt.Schema.DBNames))}
|
||||
selectColumns, restricted = SelectAndOmitColumns(stmt, true, false)
|
||||
curTime = stmt.DB.NowFunc()
|
||||
isZero = false
|
||||
isZero bool
|
||||
)
|
||||
|
||||
for _, db := range stmt.Schema.DBNames {
|
||||
|
2
model.go
2
model.go
@ -3,7 +3,7 @@ package gorm
|
||||
import "time"
|
||||
|
||||
// Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
|
||||
// It may be embeded into your model or you may build your own model without it
|
||||
// It may be embedded into your model or you may build your own model without it
|
||||
// type User struct {
|
||||
// gorm.Model
|
||||
// }
|
||||
|
Loading…
x
Reference in New Issue
Block a user