Skip to content

Commit 27e1c93

Browse files
committed
Replace godeps usage with go modules
De facto package handling for current go projects. Similar effort to #43 Fixes #44
1 parent 93e8c66 commit 27e1c93

File tree

7 files changed

+45
-46
lines changed

7 files changed

+45
-46
lines changed

Godeps/Godeps.json

-32
This file was deleted.

Godeps/Readme

-5
This file was deleted.

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,10 @@ Type `massren --help --config` (or `massren -ch`) to view the possible configura
131131

132132
## Building from source
133133

134-
- Go 1.3+ is required
134+
- Go 1.17+ is required
135135

136-
go get github.com/laurent22/massren
136+
go mod tidy
137137
go build
138-
139-
- If it doesn't build on OSX, try with:
140-
141-
go get -x -ldflags -linkmode=external github.com/laurent22/massren
142-
143-
More info in [this issue](https://github.com/laurent22/massren/issues/7).
144138

145139
## Test units
146140

go.mod

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module github.com/laurent22/massren
2+
3+
go 1.22.0
4+
5+
require (
6+
github.com/jessevdk/go-flags v0.0.0-20151018211510-4047bd797dd9
7+
github.com/kr/text v0.0.0-20130911015532-6807e777504f
8+
github.com/laurent22/go-sqlkv v0.0.0-20140919090402-db1022af2c66
9+
github.com/laurent22/go-trash v0.0.0-20150202180955-681610e5e1bc
10+
github.com/mattn/go-sqlite3 v0.0.0-20150127001921-25d045f12a64
11+
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
12+
)

go.sum

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
github.com/jessevdk/go-flags v0.0.0-20151018211510-4047bd797dd9 h1:PSPYIsaVMJhLmEu95g3hW2qzg17OLzsxVYpis1OfjWc=
2+
github.com/jessevdk/go-flags v0.0.0-20151018211510-4047bd797dd9/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
3+
github.com/kr/text v0.0.0-20130911015532-6807e777504f h1:JaNmHIV9Eby6srQVWuiQ6n8ko2o/lG6udSRCbFZe1fs=
4+
github.com/kr/text v0.0.0-20130911015532-6807e777504f/go.mod h1:sjUstKUATFIcff4qlB53Kml0wQPtJVc/3fWrmuUmcfA=
5+
github.com/laurent22/go-sqlkv v0.0.0-20140919090402-db1022af2c66 h1:VTaw1HULypzR5GOHJsGYjWmvbhTsJfznGDVexKaPPSY=
6+
github.com/laurent22/go-sqlkv v0.0.0-20140919090402-db1022af2c66/go.mod h1:r3x+J38xknkgf11E+ECTWBklI6qo2nfH96hKH26NJQU=
7+
github.com/laurent22/go-trash v0.0.0-20150202180955-681610e5e1bc h1:Q+jQNLWBZP8ys5oK3kH6+cxDth04ZZEbWBN1RJ+Bip0=
8+
github.com/laurent22/go-trash v0.0.0-20150202180955-681610e5e1bc/go.mod h1:eXLX8oRhB8MuD8er7n4QQYCultp7I+dI3rZVnNAFpnk=
9+
github.com/mattn/go-sqlite3 v0.0.0-20150127001921-25d045f12a64 h1:ZGTxuQ4twqaQhcDWA0TtuGDFoaCl6H1YE5Ff3DpLUoM=
10+
github.com/mattn/go-sqlite3 v0.0.0-20150127001921-25d045f12a64/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
11+
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d h1:VhgPp6v9qf9Agr/56bj7Y/xa04UccTW04VP0Qed4vnQ=
12+
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d/go.mod h1:YUTz3bUH2ZwIWBy3CJBeOBEugqcmXREj14T+iG/4k4U=

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/jessevdk/go-flags"
2020
"github.com/kr/text"
2121
"github.com/laurent22/go-trash"
22-
"github.com/nu7hatch/gouuid"
22+
uuid "github.com/nu7hatch/gouuid"
2323
)
2424

2525
var flagParser_ *flags.Parser

vendor/modules.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# github.com/jessevdk/go-flags v0.0.0-20151018211510-4047bd797dd9
2+
## explicit
3+
github.com/jessevdk/go-flags
4+
# github.com/kr/text v0.0.0-20130911015532-6807e777504f
5+
## explicit
6+
github.com/kr/text
7+
# github.com/laurent22/go-sqlkv v0.0.0-20140919090402-db1022af2c66
8+
## explicit
9+
github.com/laurent22/go-sqlkv
10+
# github.com/laurent22/go-trash v0.0.0-20150202180955-681610e5e1bc
11+
## explicit
12+
github.com/laurent22/go-trash
13+
# github.com/mattn/go-sqlite3 v0.0.0-20150127001921-25d045f12a64
14+
## explicit
15+
github.com/mattn/go-sqlite3
16+
# github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
17+
## explicit
18+
github.com/nu7hatch/gouuid

0 commit comments

Comments
 (0)