2021-09-20 03:08:35 +00:00
|
|
|
# gomodinit
|
|
|
|
|
|
|
|
`go mod init`
|
|
|
|
|
2022-07-25 04:25:08 +00:00
|
|
|
`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.
|
2021-09-20 03:08:35 +00:00
|
|
|
|
|
|
|
## This seems like a trivial thing
|
|
|
|
|
|
|
|
very.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
[MIT](LICENSE)
|