-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Cleanup go.mod/go.sum #2321
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
Cleanup go.mod/go.sum #2321
Conversation
Remove redundant dependencies.
Remove redundant dependencies.
diff --git a/go.sum b/go.sum
index 894ee21..cb04ab3 100644
--- a/go.sum
+++ b/go.sum
@@ -130,6 +130,7 @@ google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+
google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
+google.golang.org/appengine v1.3.0 h1:FBSsiFRMz3LBeXIomRnVzrQwSDj4ibvcRexLG0LZGQk=
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= |
@emirb |
@emirb |
Hi @inliquid, running
Of course, gorm has other external packages imported so To start from scratch, removing
Here's the comparison to current master: diff --git a/go.mod b/go.mod
index 024f73c..31127ff 100644
--- a/go.mod
+++ b/go.mod
@@ -1,13 +1,11 @@
module github.com/jinzhu/gorm
require (
- cloud.google.com/go v0.36.0 // indirect
- github.com/denisenkom/go-mssqldb v0.0.0-20190204142019-df6d76eb9289
+ github.com/denisenkom/go-mssqldb v0.0.0-20190401154936-ce35bd87d4b3
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5
github.com/go-sql-driver/mysql v1.4.1
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a
github.com/jinzhu/now v1.0.0
github.com/lib/pq v1.0.0
github.com/mattn/go-sqlite3 v1.10.0
- golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 // indirect
) So I see a potential to remove |
In fact you can run any go command so that it automatically fills-in all needed dependencies according to imports. No matter I agree PR needs to be closed, because it's more than 1 month old and probably not up to date with latest changes. It was opened to clean up what was merged at that moment of time. |
Remove redundant dependencies.