Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
v1 -> v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dtomasi committed Apr 2, 2021
1 parent 8444c15 commit cbc6cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dtomasi/go-event-bus
module github.com/dtomasi/go-event-bus/v2

go 1.15

Expand Down
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ This package provides a simple yet powerful event bus.

## Installation

go get github.com/dtomasi/go-event-bus
go get github.com/dtomasi/go-event-bus/v2

```go
package main

import "github.com/dtomasi/go-event-bus"
import "github.com/dtomasi/go-event-bus/v2"
```

## Usage
Expand All @@ -27,7 +27,7 @@ Subscribe and Publish events using a simple callback function
```go
package main

import "github.com/dtomasi/go-event-bus"
import "github.com/dtomasi/go-event-bus/v2"

func main() {

Expand All @@ -51,7 +51,7 @@ Subscribe using a EventChannel
```go
package main

import "github.com/dtomasi/go-event-bus"
import "github.com/dtomasi/go-event-bus/v2"

func main() {

Expand Down Expand Up @@ -86,7 +86,7 @@ Publish asynchronously
```go
package main

import "github.com/dtomasi/go-event-bus"
import "github.com/dtomasi/go-event-bus/v2"

func main() {

Expand Down

0 comments on commit cbc6cff

Please sign in to comment.