Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To bring it inline with the improved and mandatory go.mod package system #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions Gopkg.lock

This file was deleted.

30 changes: 0 additions & 30 deletions Gopkg.toml

This file was deleted.

7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ release:

# Get the build dependencies
build_dep:
go get -u github.com/kisielk/errcheck
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/golang/lint/golint
go mod tidy
#go get -u github.com/kisielk/errcheck
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably say

go install github.com/kisielk/errcheck

To bring them up to date!

#go get -u golang.org/x/tools/cmd/goimports
#go get -u github.com/golang/lint/golint

# Do source code quality checks
check:
Expand Down
10 changes: 10 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module github.com/t3rm1n4l/megacmd

go 1.18

require (
github.com/t3rm1n4l/go-humanize v0.0.0-20121229052809-e7ed15be05eb
github.com/t3rm1n4l/go-mega v0.0.0-20220725095014-c4e0c2b5debf
)

require golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 // indirect
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
github.com/t3rm1n4l/go-humanize v0.0.0-20121229052809-e7ed15be05eb h1:Y3ZZPZq8LFM+Hd3jIMAB9hdUvqMgUYoPL+An9kj9m8I=
github.com/t3rm1n4l/go-humanize v0.0.0-20121229052809-e7ed15be05eb/go.mod h1:RKcvJ+wnT/VTNZ92WydAGo1jX2nN3AuHqWmD2zTysF0=
github.com/t3rm1n4l/go-mega v0.0.0-20220725095014-c4e0c2b5debf h1:Y43S3e9P1NPs/QF4R5/SdlXj2d31540hP4Gk8VKNvDg=
github.com/t3rm1n4l/go-mega v0.0.0-20220725095014-c4e0c2b5debf/go.mod h1:c+cGNU1qi9bO7ZF4IRMYk+KaZTNiQ/gQrSbyMmGFq1Q=
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 h1:MQ/ZZiDsUapFFiMS+vzwXkCTeEKaum+Do5rINYJDmxc=
golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
148 changes: 0 additions & 148 deletions vendor/github.com/t3rm1n4l/go-humanize/bytes_test.go

This file was deleted.

27 changes: 0 additions & 27 deletions vendor/github.com/t3rm1n4l/go-humanize/comma_test.go

This file was deleted.

20 changes: 0 additions & 20 deletions vendor/github.com/t3rm1n4l/go-humanize/ordinals_test.go

This file was deleted.

Loading