1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2024-11-27 01:35:40 +00:00

go: bah, golang and nested modules

this aspect of golang modules is a mess. You can not have a top-level
`package main` that has its own go.mod, and then also export a
sub-directory that has its own go.mod for cleaner dependency imports by
outside importers.

So by removing this, you're subject to the top-level go.mod of the
project. Otherwise the top-level main.go needs to be moved to a nested
./cmd/emojisum/ directory, which is a break for any packagers. 😵

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2021-11-23 11:24:31 -05:00
parent dddcd7a159
commit 6bb1d12c09
No known key found for this signature in database
GPG key ID: 524F155275DF0C3E

View file

@ -1,3 +0,0 @@
module github.com/emojisum/emojisum/emoji
go 1.17