Skip to content

Commit 3d57347

Browse files
committed
fix lint
1 parent 106cd49 commit 3d57347

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/repo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (repo *Repository) MustOwnerName() string {
263263
return repo.mustOwnerName(x)
264264
}
265265

266-
// MustOwnerNameCtx is similiar MustOwnerName but with a database context
266+
// MustOwnerNameCtx is similar MustOwnerName but with a database context
267267
func (repo *Repository) MustOwnerNameCtx(ctx DBContext) string {
268268
return repo.mustOwnerName(ctx.e)
269269
}
@@ -717,7 +717,7 @@ func (repo *Repository) Link() string {
717717
return repo.LinkCtx(DefaultDBContext())
718718
}
719719

720-
// LinkCtx is similiar with Link but with database context
720+
// LinkCtx is similar with Link but with database context
721721
func (repo *Repository) LinkCtx(ctx DBContext) string {
722722
return setting.AppSubURL + "/" + repo.fullName(ctx.e)
723723
}

0 commit comments

Comments
 (0)