jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.78k stars 167 forks source link

Install issue: no module found #113

Closed BigBoulard closed 3 years ago

BigBoulard commented 3 years ago

Hi,

I've followed the install procedure but something is not working.

$ pwd
/Users/BigBoulard/dev/go/src/github.com/jfeliu007/goplantuml
$ BigBoulard@macOS:goplantuml $ go install ./...
go: cannot find main module, but found .git/config in /Users/BigBoulard/dev/go/src/github.com/jfeliu007/goplantuml
        to create a module there, run:
        go mod init

Thanks for your help.

Kind regards.

jfeliu007 commented 3 years ago

Hi @BigBoulard, sorry for the delay on my reply. I think this might work. I tried it with the latest version of golang. I might need to update the readme file for this. Try executing this command instead. go install github.com/jfeliu007/goplantuml/cmd/goplantuml@latest