diff options
author | SeongAhJo <seongside@gmail.com> | 2016-12-21 17:33:30 +0900 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-12-21 03:33:30 -0500 |
commit | bab051a8c17324e616d2fd649f1de9f36992ecaa (patch) | |
tree | ef6a3617bf5cfeaefb668f8040e41fbf4b9354b2 | |
parent | ad6de46ce4cc207ec392abd85cf3fbcd53c61a33 (diff) |
Fix Typo Errors (#3885)
* Fix typos
* Fix typos
-rw-r--r-- | models/action.go | 2 | ||||
-rw-r--r-- | models/issue.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/models/action.go b/models/action.go index 54695417..7ce48217 100644 --- a/models/action.go +++ b/models/action.go @@ -63,7 +63,7 @@ func init() { IssueReferenceKeywordsPat = regexp.MustCompile(`(?i)(?:)(^| )\S+`) } -// Action represents user operation type and other information to repository., +// Action represents user operation type and other information to repository, // it implemented interface base.Actioner so that can be used in template render. type Action struct { ID int64 `xorm:"pk autoincr"` diff --git a/models/issue.go b/models/issue.go index 55d3253a..6dfb4717 100644 --- a/models/issue.go +++ b/models/issue.go @@ -650,7 +650,7 @@ func newIssue(e *xorm.Session, opts NewIssueOptions) (err error) { } if len(opts.LableIDs) > 0 { - // During the session, SQLite3 dirver cannot handle retrieve objects after update something. + // During the session, SQLite3 driver cannot handle retrieve objects after update something. // So we have to get all needed labels first. labels := make([]*Label, 0, len(opts.LableIDs)) if err = e.In("id", opts.LableIDs).Find(&labels); err != nil { |