Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed May 4, 2022
1 parent adb8d5c commit 479f143
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arduino/libraries/librariesindex/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ import (
semver "go.bug.st/relaxed-semver"
)

//easyjson:json
type indexJSON struct {
Libraries []indexRelease `json:"libraries"`
}

//easyjson:json
type indexRelease struct {
Name string `json:"name"`
Version *semver.Version `json:"version"`
Expand All @@ -49,6 +51,7 @@ type indexRelease struct {
ProvidesIncludes []string `json:"providesIncludes"`
}

//easyjson:json
type indexDependency struct {
Name string `json:"name"`
Version string `json:"version,omitempty"`
Expand Down

0 comments on commit 479f143

Please sign in to comment.