View definition

(*Repository).MustOwner

Defined in github.com/gogits/gogs/models/repo.go

Description

MustOwner always returns a valid *User object to avoid conceptually impossible error handling. It creates a fake object that contains error deftail when error occurs.

MustOwner is referenced in 3 repositories

github.com/gogits/gogs

...