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

Commit

Permalink
Add files for Go modules (fixes #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaupin committed Oct 3, 2018
1 parent b4adcb0 commit 92e4668
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions epub.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import (
"path/filepath"
"strings"

// TODO: Eventually this should include the major version (e.g. github.com/gofrs/uuid/v3) but that would break
// compatibility with Go < 1.9 (https://github.com/golang/go/wiki/Modules#semantic-import-versioning)
"github.com/gofrs/uuid"
)

Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/bmaupin/go-epub

require github.com/gofrs/uuid v3.1.0+incompatible
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/gofrs/uuid v3.1.0+incompatible h1:q2rtkjaKT4YEr6E1kamy0Ha4RtepWlQBedyHx0uzKwA=
github.com/gofrs/uuid v3.1.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=

0 comments on commit 92e4668

Please sign in to comment.