Skip to content

Commit

Permalink
replenish README.md (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
veezhang authored Apr 12, 2022
1 parent e6d5489 commit 5bf3429
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@

- [errorx](errorx) - Error extension with code and message.
- [httpclient](httpclient) - HTTP client containing raw `Client`, `BytesClient` and `ObjectClient`.
- [mail](mail) - Simple mail client.
- [notify](notify) - Notification interface, supports template, filter, tingtalk and mail.
1 change: 0 additions & 1 deletion notify/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ type (
DuplicateFilterParams struct {
DupInterval time.Duration // duplicate data notification interval
MaxRecords int // the max of records
Name string
}

duplicateFilter struct {
Expand Down
2 changes: 0 additions & 2 deletions notify/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,13 @@ func TestDuplicateFilterNotify(t *testing.T) {
NewWithDuplicateFilter(DuplicateFilterParams{
DupInterval: dupInterval,
MaxRecords: 1,
Name: "name1",
}, n11, n12),
n13,
)
n2 := New(
NewWithDuplicateFilter(DuplicateFilterParams{
DupInterval: dupInterval,
MaxRecords: 10,
Name: "name2",
}, n21),
n22,
n23,
Expand Down

0 comments on commit 5bf3429

Please sign in to comment.