Skip to content

Commit f2f4605

Browse files
authored
Add CreatedOn & UpdatedOn on Repository struct (ktrysmt#194)
1 parent f99b061 commit f2f4605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

repository.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ type Repository struct {
2828
Has_issues bool
2929
Mainbranch RepositoryBranch
3030
Type string
31+
CreatedOn string `mapstructure:"created_on"`
32+
UpdatedOn string `mapstructure:"updated_on"`
3133
Owner map[string]interface{}
3234
Links map[string]interface{}
3335
Parent *Repository

0 commit comments

Comments
 (0)