Home

gomodinit @main - refs - log -
-
https://git.jolheiser.com/gomodinit.git
go mod init
tree log patch
chore: remove unnecessary dep Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmXqmzkACgkQuFOtpdp7 v3pRUA/+Oik5nVPcwLzuSIUs2tCy/1nRGMZO0Hxe8Vqk+2adVO9s/GvriDgEy008 24o8ofHmc584Quf6YDGHu02RR1P1gUbnom7YDSbqTVpYtYFmjRpmYOGiDxlSpM78 YMWDLiD3dmMmdwN8cYDGweQ9n6VoAs3sC6JIukxkb46VsBMJpsbVIE4ISw4dIkBs 9LNt7M3nTCFDC2EoePAjelHMNcD2mdzsA4M7VeR87BF9v3nqs+3dNiXtZkSL+EO9 vJxmkflPLwZIfziafQXmE5ouUSGcYlVJTdAvwc657+YtD83LSZdK6xH6PVvIN5l8 zFJXQQYCGA4t4vYuwS3M42BhHRmnSJBE2XBtEf27fVxm5yifq8reoWJh2FtJv0V9 IODOSA8u+13IezUyqM3+Lga16xLXzti9BO9ClgaetCTB9Mpes1aKPPk9gEhlu0Qj FgtslEo8433S8NnhT9lACzxHTyp/g0MrOsu7B6LIdT2Z7fRN01a7YbpG5/u8jNSk LXcB2RSvngR2IpiuuvbRmJOgh7iWFLwHLXzLkW6kQVJ0VBxSZ9CgjHTUcT0QvEq9 QyN0AAS82Xnle4RYTGZpUHXvLQPT1GTOdF2ExOgb8+E5D31vO+l+wK59d3a1pCUk zzPAO9H2bXJQK/MAM+Vp3NVh3uQCUH/k0pnsh+CIhcAgGFTpDLc= =NgKQ -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
9 months ago
3 changed files, 2 additions(+), 14 deletions(-)
M go.mod -> go.mod
diff --git a/go.mod b/go.mod
index 1473f2c893908696578a76e1fed9234001f3b073..1775e9a0c22111f00507b24abb8579810640d246 100644
--- a/go.mod
+++ b/go.mod
@@ -2,7 +2,4 @@ module go.jolheiser.com/gomodinit
 
 go 1.18
 
-require (
-	github.com/matryer/is v1.4.0
-	github.com/peterbourgon/ff/v3 v3.1.2
-)
+require github.com/matryer/is v1.4.0
M go.sum -> go.sum
diff --git a/go.sum b/go.sum
index 77069500ccf075f4c2f7ec82312cf9052fb9f48e..ddd6bbf7619e2787b3a4893e125664d2881f6b41 100644
--- a/go.sum
+++ b/go.sum
@@ -1,9 +1,2 @@
-github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=
 github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
-github.com/pelletier/go-toml v1.6.0/go.mod h1:5N711Q9dKgbdkxHL+MEfF31hpT7l0S0s/t2kKREewys=
-github.com/peterbourgon/ff/v3 v3.1.2 h1:0GNhbRhO9yHA4CC27ymskOsuRpmX0YQxwxM9UPiP6JM=
-github.com/peterbourgon/ff/v3 v3.1.2/go.mod h1:XNJLY8EIl6MjMVjBS4F0+G0LYoAqs0DTa4rmHHukKDE=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
M main.go -> main.go
diff --git a/main.go b/main.go
index e903f4bb19e3f70ad14d473264e7fa29ded812a7..1a38245d96eea4b15d7999fff4c2d50705b1ab4e 100644
--- a/main.go
+++ b/main.go
@@ -7,8 +7,6 @@ 	"os"
 	"os/exec"
 	"path/filepath"
 	"strings"
-
-	"github.com/peterbourgon/ff/v3"
 )
 
 var Version = "develop"
@@ -16,7 +14,7 @@
 func main() {
 	fs := flag.NewFlagSet("gomodinit", flag.ExitOnError)
 	versionFlag := fs.Bool("version", false, "Print version and exit")
-	if err := ff.Parse(fs, os.Args[1:], ff.WithEnvVarPrefix("GMI")); err != nil {
+	if err := fs.Parse(os.Args[1:]); err != nil {
 		fmt.Println(err)
 		return
 	}