Home

gomodinit @main - refs - log - search -
https://git.jolheiser.com/gomodinit.git
go mod init
-rw-r--r--
32 B
.gitignore
-rw-r--r--
1.1 kB
LICENSE
-rw-r--r--
284 B
README.md
-rw-r--r--
534 B
flake.lock
-rw-r--r--
861 B
flake.nix
-rw-r--r--
81 B
go.mod
-rw-r--r--
51 B
go.mod.sri
-rw-r--r--
161 B
go.sum
-rw-r--r--
1.7 kB
gomodinit_test.go
-rw-r--r--
1.3 kB
main.go

gomodinit

go mod init

gomodinit walks up the current dir path until it finds something vaguely resembling a URI (i.e. a path part with at least one .) and constructs a go mod init <path> call from it.

This seems like a trivial thing

very.

License

MIT