Skip to content

Commit

Permalink
Update to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
themue committed Apr 6, 2024
1 parent fca1c30 commit 950299c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 70 deletions.
17 changes: 7 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# Changelog

### v0.3.1 (2022-06-25)
### v0.3.0

* Migrated to Go 1.20
* Simplified `Throttle` implementation

### v0.3.0 (2022-03-27)

* Migrated to Go 1.18
- Migrated to Go 1.20
- Simplified `Throttle` implementation
- Migrated to Go 1.18

### v0.2.0 (2022-03-04)

* Added Throttle
- Added Throttle

### v0.1.1 (2021-09-07)

* Fixed documentation
- Fixed documentation

### v0.1.0 (2021-09-07)

* Migrated Wait code from together library
- Migrated Wait code from together library
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2019-2023, Frank Mueller / Tideland / Oldenburg / Germany
Copyright (c) 2019-2024, Frank Mueller / Tideland / Oldenburg / Germany
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
53 changes: 0 additions & 53 deletions Makefile

This file was deleted.

3 changes: 2 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tideland Go Wait
//
// Copyright (C) 2019-2023 Frank Mueller / Tideland / Oldenburg / Germany
// Copyright (C) 2019-2024 Frank Mueller / Tideland / Oldenburg / Germany
//
// All rights reserved. Use of this source code is governed
// by the new BSD license.
Expand All @@ -10,6 +10,7 @@
//
// Additionally the package provide a throttle for the limited processing
// of events per second.

package wait // import "tideland.dev/go/wait"

// EOF
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module tideland.dev/go/wait

go 1.20
go 1.22

require (
golang.org/x/time v0.3.0
golang.org/x/time v0.5.0
tideland.dev/go/audit v0.7.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
tideland.dev/go/audit v0.7.0 h1:lr4LkNu7i5qLJuqQ6lUfnt0J09anZNfrdXdB1I9JlTs=
tideland.dev/go/audit v0.7.0/go.mod h1:Jua+IB3KgAC7fbuZ1YHT7gKhwpiTOcn3Q7AOCQsrro8=
2 changes: 1 addition & 1 deletion throttle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestThrottle(t *testing.T) {
err: "Wait(n=1) exceeds limiter's burst 0",
},
{
name: "throttle has infinite limiit and no burst",
name: "throttle has infinite limit and no burst",
limit: wait.InfLimit,
burst: 0,
tasks: 10,
Expand Down

0 comments on commit 950299c

Please sign in to comment.