Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
I made corrections in the sample code making sure it works when a person copy and pastes it.
  • Loading branch information
champ3oy authored Apr 9, 2024
1 parent 50abc18 commit 580f064
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ First, you need to get an API key, which is available in the [Resend Dashboard](
## Example

```go
import "github.com/resend/resend-go/v2"
import (
"fmt"
"github.com/resend/resend-go/v2"
)

func main() {
apiKey = "re_123"
apiKey := "re_123"

client := resend.NewClient(apiKey)

Expand Down

0 comments on commit 580f064

Please sign in to comment.