Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func main() {
{ID: "2", Name: "Joe", Score: 92.50},
}

d := diff.NewListener[FeedData]()
d := diff.NewDiff[FeedData]()

// set callback func if you need
f := func(e []diff.Events[FeedData]) {
Expand Down Expand Up @@ -58,4 +58,13 @@ func main() {
Distributed under the MIT License. See [license](LICENSE) for more information.

## Contributing <a id="contributing"></a>
Contributions are welcome! Feel free to check our [open issues](https://github.com/panapol-p/go-slice-struct-listener/issues).
Contributions are welcome! Feel free to check our [open issues](https://github.com/panapol-p/go-slice-struct-listener/issues).

<a href="https://github.com/panapol-p/go-slice-struct-diff/graphs/contributors">
<img src="https://contrib.rocks/image?repo=panapol-p/go-slice-struct-diff" />
</a>

<br>
<div align="center">
Show some ❤️ by starring this awesome repository!
</div>