| 72 | } |
| 73 | |
| 74 | type TestFakeGithubRepo struct { |
| 75 | common.Scope |
| 76 | GithubId int `json:"githubId" gorm:"primaryKey" mapstructure:"githubId"` |
| 77 | Name string `json:"name" gorm:"type:varchar(255)" mapstructure:"name,omitempty"` |
| 78 | HTMLUrl string `json:"HTMLUrl" gorm:"type:varchar(255)" mapstructure:"HTMLUrl,omitempty"` |
| 79 | Description string `json:"description" mapstructure:"description,omitempty"` |
| 80 | OwnerId int `json:"ownerId" mapstructure:"ownerId,omitempty"` |
| 81 | Language string `json:"language" gorm:"type:varchar(255)" mapstructure:"language,omitempty"` |
| 82 | ParentGithubId int `json:"parentId" mapstructure:"parentGithubId,omitempty"` |
| 83 | ParentHTMLUrl string `json:"parentHtmlUrl" mapstructure:"parentHtmlUrl,omitempty"` |
| 84 | CloneUrl string `json:"cloneUrl" gorm:"type:varchar(255)" mapstructure:"cloneUrl,omitempty"` |
| 85 | CreatedDate *time.Time `json:"createdDate" mapstructure:"-"` |
| 86 | UpdatedDate *time.Time `json:"updatedDate" mapstructure:"-"` |
| 87 | } |
| 88 | |
| 89 | func (r TestFakeGithubRepo) ScopeId() string { |
| 90 | return fmt.Sprintf("%d", r.GithubId) |
nothing calls this directly
no outgoing calls
no test coverage detected