Skip to content

Commit

Permalink
Fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mymmrac committed Jul 15, 2022
1 parent c978f97 commit 96b8df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telegoutil/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func NameReader(reader io.Reader, name string) ta.NamedReader {
// UpdateProcessor allows you to process updates and still use updates chan. New updates chan will be closed when
// original chan is closed.
// Note: telego.Update contains pointers so by modifying update you may modify original update.
func UpdateProcessor(updates <-chan telego.Update, buffer uint,
processor func(update telego.Update) telego.Update) <-chan telego.Update {
func UpdateProcessor(updates <-chan telego.Update, buffer uint, processor func(update telego.Update) telego.Update,
) <-chan telego.Update {
processedUpdates := make(chan telego.Update, buffer)

go func() {
Expand Down

0 comments on commit 96b8df4

Please sign in to comment.