Skip to content

Commit

Permalink
Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlanigan committed Oct 22, 2021
1 parent 0717c37 commit 776c01e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charmhub/transport/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@

package transport

// ResourcesResponse defines a series of typed responses for the list resource
// revisions query.
type ResourcesResponse struct {
Revisions []ResourceRevision `json:"revisions"`
}

// ResourceRevision defines a typed response for the list resource
// revisions query.
type ResourceRevision struct {
Download Download `json:"download"`
Description string `json:"description"`
Expand Down

0 comments on commit 776c01e

Please sign in to comment.