gen2brain / mpeg

MPEG-1 Video decoder, MP2 Audio decoder and MPEG-PS Demuxer in pure Go
MIT License
129 stars 11 forks source link

run go mod tidy #2

Closed hajimehoshi closed 2 years ago

gen2brain commented 2 years ago

Huh, I think I don't like this, I will just rename examples to _examples, seems that should stop go mod from parsing that directory.

hajimehoshi commented 2 years ago

In this case we cannot run examples...

gen2brain commented 2 years ago

But any example can just be tried/used with go mod init example right, it just needs some extra commands.

hajimehoshi commented 2 years ago

I think users would expect they can run examples without additional commands.

hajimehoshi commented 2 years ago

Another suggestion is to separate repositories for the examples

gen2brain commented 2 years ago

Ok, for now, it is just renamed with an underscore and it is not user-friendly, I will see later to move examples to their own repo.