Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

peopleGroup/json-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

json-diff-snippets

A template to implement your own json-diff

json-diff works on pub-sub pattern

There are TODOs in producer.go and consumer.go

  • Implement the producer function which will generate requests and write it on a channel.
  • The consumers will listen on the channel and pick up request make api calls concurrently and will write the JSON response in a file.
  • After all the requests are done, the diff.js script will we invoked, which will compare the JSON responses and write the difference (added, modified & deleted) in a file.

To build and install json-diff

go install ./...

go install copies the built binary into your GOPATH, so you can run it.

json-diff

The diff script can be run standalone using node (>= 10.13.0 )

node diff.js

About

A template to implement your own json-diff

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /