jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.77k stars 166 forks source link

Installation method is deprecated #119

Open scrouthtv opened 2 years ago

scrouthtv commented 2 years ago

Installing through go get as suggested in the readme does not work anymore with Go 1.16+

The new recommended method is simply running go install github.com/jfeliu007/goplantuml/cmd/goplantuml@latest.

For more information, see the docs on go install

garrettlove8 commented 2 years ago

Does not work

Giving me:

> [19/20] RUN go install github.com/jfeliu007/goplantuml/cmd/goplantuml@latest:
#22 0.237 package github.com/jfeliu007/goplantuml/cmd/goplantuml@latest: cannot use path@version syntax in GOPATH mode
------
executor failed running [/bin/sh -c go install github.com/jfeliu007/goplantuml/cmd/goplantuml@latest]: exit code: 1
scrouthtv commented 2 years ago

Are you inside a Go project? Which Go version are you running?

valerius21 commented 1 year ago

When installing the binary, the goproxy server does not find a version attached to it. This is happening on version >v1.18

$ go install github.com/jfeliu007/goplantuml/parser@latest
go: github.com/jfeliu007/goplantuml/parser@latest: module github.com/jfeliu007/goplantuml/parser: Get "https://proxy.golang.org/github.com/jfeliu007/goplantuml/parser/@v/list": dial tcp: lookup proxy.golang.org on 172.23.0.1:53: read udp 172.23.14.198:46677->172.23.0.1:53: i/o timeout
vimalk78 commented 4 months ago

should we be inside a go project when following the Installation instructions ?

i am getting

$  go install github.com/jfeliu007/goplantuml/parser@latest 
package github.com/jfeliu007/goplantuml/parser is not a main package