Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
v5
  • Loading branch information
vtopc committed Dec 15, 2024
1 parent a2a4cfd commit 528746b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Mailgun with Go

[![GoDoc](https://godoc.org/github.com/mailgun/mailgun-go?status.svg)](https://godoc.org/github.com/mailgun/mailgun-go/v4)
[![GoDoc](https://godoc.org/github.com/mailgun/mailgun-go?status.svg)](https://godoc.org/github.com/mailgun/mailgun-go/v5)
[![Build Status](https://github.com/mailgun/mailgun-go/workflows/CI/badge.svg)](https://github.com/mailgun/mailgun-go/actions/workflows/main.yml?query=branch%3Amaster)

Go library for interacting with the [Mailgun](https://mailgun.com/) [API](https://documentation.mailgun.com/en/latest/api_reference.html).

## Installation

If you are using [Go Modules](https://go.dev/wiki/Modules) make sure you
include the `/v4` at the end of your import paths
include the `/v5` at the end of your import paths
```bash
$ go get github.com/mailgun/mailgun-go/v4
$ go get github.com/mailgun/mailgun-go/v5
```

## Usage
Expand All @@ -23,7 +23,7 @@ import (
"log"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v5"
)

// Your available domain names can be found here:
Expand Down Expand Up @@ -72,8 +72,8 @@ import (
"fmt"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v4/events"
"github.com/mailgun/mailgun-go/v5"
"github.com/mailgun/mailgun-go/v5/events"
)

func main() {
Expand Down Expand Up @@ -129,7 +129,7 @@ import (
"log"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v5"
)

func main() {
Expand Down Expand Up @@ -170,7 +170,7 @@ import (
"fmt"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v5"
)

// Your plan should include email validations.
Expand Down Expand Up @@ -203,8 +203,8 @@ import (
"net/http"
"os"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v4/events"
"github.com/mailgun/mailgun-go/v5"
"github.com/mailgun/mailgun-go/v5/events"
)

func main() {
Expand Down Expand Up @@ -271,7 +271,7 @@ import (
"log"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v5"
)

// Your available domain names can be found here:
Expand Down Expand Up @@ -330,7 +330,7 @@ import (
"log"
"time"

"github.com/mailgun/mailgun-go/v4"
"github.com/mailgun/mailgun-go/v5"
)

// Your available domain names can be found here:
Expand Down

0 comments on commit 528746b

Please sign in to comment.