File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,11 @@ func (s PackageLinks) String() string {
74
74
75
75
// PackageTag holds label information about the package
76
76
type PackageTag struct {
77
- ID int `json:"id"`
78
- PackageID int `json:"package_id"`
79
- Name string `json:"name"`
80
- CreatedAt time.Time `json:"created_at"`
81
- UpdatedAt time.Time `json:"updated_at"`
77
+ ID int `json:"id"`
78
+ PackageID int `json:"package_id"`
79
+ Name string `json:"name"`
80
+ CreatedAt * time.Time `json:"created_at"`
81
+ UpdatedAt * time.Time `json:"updated_at"`
82
82
}
83
83
84
84
func (s PackageTag ) String () string {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ func TestPackagesService_ListProjectPackages(t *testing.T) {
22
22
"conan_package_name": "Hello",
23
23
"version": "0.1",
24
24
"package_type": "conan",
25
- "last_downloaded_at": "2023-01-04T20:00:00.000Z"
25
+ "last_downloaded_at": "2023-01-04T20:00:00.000Z",
26
26
"_links": {
27
27
"web_path": "/foo/bar/-/packages/3",
28
28
"delete_api_path": "https://gitlab.example.com/api/v4/projects/1/packages/3"
@@ -57,8 +57,8 @@ func TestPackagesService_ListProjectPackages(t *testing.T) {
57
57
ID : 1 ,
58
58
PackageID : 37 ,
59
59
Name : "Some Label" ,
60
- CreatedAt : timestamp ,
61
- UpdatedAt : timestamp ,
60
+ CreatedAt : & timestamp ,
61
+ UpdatedAt : & timestamp ,
62
62
}},
63
63
}}
64
64
You can’t perform that action at this time.
0 commit comments