Octoscan module should be downloaded and installed for the current project so it can be called from go code.
Current behavior
I have the following output:
go: github.com/synacktiv/octoscan@upgrade (v0.0.0-20240610220220-9a0a3b526ed0) requires github.com/synacktiv/octoscan@v0.0.0-20240610220220-9a0a3b526ed0: parsing go.mod:
module declares its path as: octoscan
but was required as: github.com/synacktiv/octoscan
Possible fix
I think that this is due to go.mod where the module is defined as module github.com. It should be something like github.com/synacktiv/octoscan (module name without a dot are usually reserved for standard libraries).
How to reproduce?
Run
go get github.com/synacktiv/octoscan
Expected behavior
Octoscan module should be downloaded and installed for the current project so it can be called from go code.
Current behavior
I have the following output:
Possible fix
I think that this is due to
go.mod
where the module is defined asmodule github.com
. It should be something likegithub.com/synacktiv/octoscan
(module name without a dot are usually reserved for standard libraries).