| 26 | var _ plugin.Scope = (*Repo)(nil) |
| 27 | |
| 28 | type Repo struct { |
| 29 | domainlayer.DomainEntity |
| 30 | Name string `json:"name"` |
| 31 | Url string `json:"url"` |
| 32 | Description string `json:"description"` |
| 33 | OwnerId string `json:"owner_id" gorm:"type:varchar(255)"` |
| 34 | Language string `json:"language" gorm:"type:varchar(255)"` |
| 35 | ForkedFrom string `json:"forked_from"` |
| 36 | CreatedDate *time.Time `json:"created_date"` |
| 37 | UpdatedDate *time.Time `json:"updated_date"` |
| 38 | Deleted bool `json:"deleted"` |
| 39 | } |
| 40 | |
| 41 | func (Repo) TableName() string { |
| 42 | return "repos" |
nothing calls this directly
no outgoing calls
no test coverage detected