Skip to content

Commit

Permalink
DSCGS-36 Go mod updated, test updated (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
irlndts authored Feb 28, 2020
1 parent e287c7d commit b61a3c1
Show file tree
Hide file tree
Showing 10 changed files with 188 additions and 50 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/irlndts/go-discogs

go 1.13.4
go 1.14

require github.com/google/go-cmp v0.3.1
require github.com/google/go-cmp v0.4.0
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
4 changes: 2 additions & 2 deletions models.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Series struct {
ID int `json:"id"`
Name string `json:"name"`
ResourceURL string `json:"resource_url"`
ThumbnailURL string `json:"thumbnail_url"`
ThumbnailURL string `json:"thumbnail_url,omitempty"`
}

// ArtistSource ...
Expand Down Expand Up @@ -68,7 +68,7 @@ type LabelSource struct {

// Identifier ...
type Identifier struct {
Description string `json:"description"`
Description string `json:"description,omitempty"`
Type string `json:"type"`
Value string `json:"value"`
}
Expand Down
2 changes: 1 addition & 1 deletion testing_data.go

Large diffs are not rendered by default.

83 changes: 61 additions & 22 deletions vendor/github.com/google/go-cmp/cmp/compare.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/google/go-cmp/cmp/export_panic.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions vendor/github.com/google/go-cmp/cmp/export_unsafe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 40 additions & 15 deletions vendor/github.com/google/go-cmp/cmp/options.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b61a3c1

Please sign in to comment.