Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Jun 9, 2020
1 parent a42f9bf commit 05e6a65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The fantastic ORM library for Golang, aims to be developer friendly.

[![go report card](https://goreportcard.com/badge/gorm.io/gorm "go report card")](https://goreportcard.com/report/gorm.io/gorm)
[![go report card](https://goreportcard.com/badge/github.com/go-gorm/gorm "go report card")](https://goreportcard.com/report/github.com/go-gorm/gorm)
[![wercker status](https://app.wercker.com/status/55136410c77335a6289ebd58b2f70125/s/master "wercker status")](https://app.wercker.com/project/byKey/55136410c77335a6289ebd58b2f70125)
[![Join the chat at https://gitter.im/jinzhu/gorm](https://img.shields.io/gitter/room/jinzhu/gorm.svg)](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Open Collective Backer](https://opencollective.com/gorm/tiers/backer/badge.svg?label=backer&color=brightgreen "Open Collective Backer")](https://opencollective.com/gorm)
Expand Down
2 changes: 1 addition & 1 deletion callbacks/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
// }
Expand Down

0 comments on commit 05e6a65

Please sign in to comment.