File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,6 @@ type Package struct {
22
22
Latest PackageVersion `json:"latest"`
23
23
}
24
24
25
- type PackageCategory struct {
26
- Name string `json:"name"`
27
- Slug string `json:"slug"`
28
- }
29
-
30
25
type PackageVersion struct {
31
26
Namespace string `json:"namespace"`
32
27
Name string `json:"name"`
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import (
12
12
"unicode/utf8"
13
13
14
14
"github.com/hashicorp/go-version"
15
+ "github.com/the-egg-corp/thundergo/common"
15
16
"github.com/the-egg-corp/thundergo/util"
16
17
)
17
18
@@ -38,9 +39,9 @@ type PackageSubmissionMetadata struct {
38
39
}
39
40
40
41
type AvailableCommunity struct {
41
- Community Community `json:"community"`
42
- Categories []PackageCategory `json:"categories"`
43
- URL string `json:"url"`
42
+ Community Community `json:"community"`
43
+ Categories []common. PackageCategory `json:"categories"`
44
+ URL string `json:"url"`
44
45
}
45
46
46
47
type PackageSubmissionResult struct {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const iconPath = "../test-pkg/icon.png.jpg"
13
13
const manifestPath = "../test-pkg/manifest.json"
14
14
15
15
func TestValidateIcon (t * testing.T ) {
16
- // t.Skip()
16
+ t .Skip ()
17
17
18
18
icon , err := os .ReadFile (iconPath )
19
19
if err != nil {
You can’t perform that action at this time.
0 commit comments