File tree Expand file tree Collapse file tree 4 files changed +8
-17
lines changed
tests/testdata/test_sync/golden Expand file tree Collapse file tree 4 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,8 @@ type DB struct {
43
43
44
44
// Library is an Arduino library
45
45
type Library struct {
46
- Name string
47
- Repository string
48
- SupportLevel string
46
+ Name string
47
+ Repository string
49
48
50
49
// Category of the latest release of the library
51
50
LatestCategory string
Original file line number Diff line number Diff line change @@ -34,19 +34,16 @@ func testerDB() *DB {
34
34
tDB := DB {
35
35
Libraries : []* Library {
36
36
{
37
- Name : "FooLib" ,
38
- Repository : "https://github.com/Bar/FooLib.git" ,
39
- SupportLevel : "" ,
37
+ Name : "FooLib" ,
38
+ Repository : "https://github.com/Bar/FooLib.git" ,
40
39
},
41
40
{
42
- Name : "BazLib" ,
43
- Repository : "https://github.com/Bar/BazLib.git" ,
44
- SupportLevel : "" ,
41
+ Name : "BazLib" ,
42
+ Repository : "https://github.com/Bar/BazLib.git" ,
45
43
},
46
44
{
47
- Name : "QuxLib" ,
48
- Repository : "https://github.com/Zeb/QuxLib.git" ,
49
- SupportLevel : "" ,
45
+ Name : "QuxLib" ,
46
+ Repository : "https://github.com/Zeb/QuxLib.git" ,
50
47
},
51
48
},
52
49
Releases : []* Release {
Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ type indexLibrary struct {
48
48
ArchiveFileName string `json:"archiveFileName"`
49
49
Size int64 `json:"size"`
50
50
Checksum string `json:"checksum"`
51
-
52
- SupportLevel string `json:"supportLevel,omitempty"`
53
51
}
54
52
55
53
type indexDependency struct {
@@ -96,7 +94,6 @@ func (db *DB) OutputLibraryIndex() (interface{}, error) {
96
94
URL : libraryRelease .URL ,
97
95
Size : libraryRelease .Size ,
98
96
Checksum : libraryRelease .Checksum ,
99
- SupportLevel : lib .SupportLevel ,
100
97
Repository : lib .Repository ,
101
98
ProvidesIncludes : libraryRelease .Includes ,
102
99
Dependencies : deps ,
Original file line number Diff line number Diff line change 3
3
{
4
4
"Name" : " SpacebrewYun" ,
5
5
"Repository" : " https://github.com/arduino-libraries/SpacebrewYun.git" ,
6
- "SupportLevel" : " " ,
7
6
"LatestCategory" : " Communication"
8
7
},
9
8
{
10
9
"Name" : " ArduinoCloudThing" ,
11
10
"Repository" : " https://github.com/arduino-libraries/ArduinoCloudThing.git" ,
12
- "SupportLevel" : " " ,
13
11
"LatestCategory" : " Communication"
14
12
}
15
13
],
You can’t perform that action at this time.
0 commit comments