Skip to content

BreakerEvent now implements Stringer interface#52

Open
beono wants to merge 1 commit into
rubyist:masterfrom
beono:eventdescription
Open

BreakerEvent now implements Stringer interface#52
beono wants to merge 1 commit into
rubyist:masterfrom
beono:eventdescription

Conversation

@beono

@beono beono commented Feb 16, 2018

Copy link
Copy Markdown

Hello

Thanks for the library.
I added implementation of Stringer interface for BreakerEvent.

Usage example:

ch := builder.cb.Subscribe()
	go func() {
		for {
			e := <- ch
			fmt.Println(e) // prints nice message instead of a numeric value
		}
	}()

@beono

beono commented Feb 23, 2018

Copy link
Copy Markdown
Author

Hello @rubyist,

Do you still maintain the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant