Skip to content

Commit 6be69d5

Browse files
fix: add v2 module
1 parent 594b0e0 commit 6be69d5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This library is particularly useful for applications requiring detailed metadata
2828
Add the library to your project using `go get`:
2929

3030
```sh
31-
go get github.com/mathieu-keller/epub-parser
31+
go get github.com/mathieu-keller/epub-parser/v2
3232
```
3333

3434
---

src/epub_v2/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package epub_v2
22

33
import (
44
"encoding/xml"
5-
"github.com/mathieu-keller/epub-parser/model"
5+
"github.com/mathieu-keller/epub-parser/v2/model"
66
)
77

88
func getTitles(metaData []DefaultAttributes) *[]model.Title {

src/epub_v3/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package epub_v3
22

33
import (
44
"encoding/xml"
5-
"github.com/mathieu-keller/epub-parser/model"
5+
"github.com/mathieu-keller/epub-parser/v2/model"
66
"strings"
77
)
88

src/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/mathieu-keller/epub-parser
1+
module github.com/mathieu-keller/epub-parser/v2
22

33
go 1.23
44

src/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"fmt"
66
"strconv"
77

8-
"github.com/mathieu-keller/epub-parser/epub_v2"
9-
"github.com/mathieu-keller/epub-parser/epub_v3"
10-
"github.com/mathieu-keller/epub-parser/model"
8+
"github.com/mathieu-keller/epub-parser/v2/epub_v2"
9+
"github.com/mathieu-keller/epub-parser/v2/epub_v3"
10+
"github.com/mathieu-keller/epub-parser/v2/model"
1111
)
1212

1313
func OpenBook(reader *zip.Reader) (*model.Book, error) {

src/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package epub
33
import (
44
"archive/zip"
55
"bytes"
6-
"github.com/mathieu-keller/epub-parser/model"
6+
"github.com/mathieu-keller/epub-parser/v2/model"
77
"os"
88
"strconv"
99
"testing"

0 commit comments

Comments
 (0)