Skip to content

Commit f3fa34f

Browse files
authored
Merge pull request #10 from najeebkp/main
fix: example in readme.md is not correct [fixes #7]
2 parents 34fdcb7 + a0849c4 commit f3fa34f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func main() {
2727
{ID: "2", Name: "Joe", Score: 92.50},
2828
}
2929

30-
d := diff.NewListener[FeedData]()
30+
d := diff.NewDiff[FeedData]()
3131

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

6060
## Contributing <a id="contributing"></a>
61-
Contributions are welcome! Feel free to check our [open issues](https://github.com/panapol-p/go-slice-struct-listener/issues).
61+
Contributions are welcome! Feel free to check our [open issues](https://github.com/panapol-p/go-slice-struct-listener/issues).
62+
63+
<a href="https://github.com/panapol-p/go-slice-struct-diff/graphs/contributors">
64+
<img src="https://contrib.rocks/image?repo=panapol-p/go-slice-struct-diff" />
65+
</a>
66+
67+
<br>
68+
<div align="center">
69+
Show some ❤️ by starring this awesome repository!
70+
</div>

0 commit comments

Comments
 (0)