Home

gomodinit @main - refs - log -
-
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--
569 B
flake.lock
-rw-r--r--
951 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.4 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