Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edoger committed Nov 11, 2020
1 parent a6caf38 commit 5eb31bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Let's manage the runtime environment more conveniently within the application.
func main() {
// Listen adds a given runtime environment listener.
// When the runtime environment changes, all registered listeners will be executed.
environment.Listen(func(current, old environment.Env) {
environment.Listen(func(after, before environment.Env) {
// Do something!
})
}
Expand Down

0 comments on commit 5eb31bf

Please sign in to comment.