Skip to content

Commit

Permalink
feature(api): Serialize locators in FOSSA format
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch committed May 1, 2018
1 parent cc1cc9a commit 448c1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/locator.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
)

type Locator struct {
Fetcher string
Project string
Revision string
Fetcher string `json:"fetcher"`
Project string `json:"package"`
Revision string `json:"revision"`
}

func (l Locator) String() string {
Expand Down

0 comments on commit 448c1fe

Please sign in to comment.