goplantuml icon indicating copy to clipboard operation
goplantuml copied to clipboard

Installation method is deprecated

Open scrouthtv opened this issue 4 years ago • 4 comments

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

scrouthtv avatar Sep 26 '21 21:09 scrouthtv

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

garrettlove8 avatar Sep 27 '21 14:09 garrettlove8

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

scrouthtv avatar Sep 27 '21 18:09 scrouthtv

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

valerius21 avatar Aug 06 '22 16:08 valerius21

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

vimalk78 avatar Feb 12 '24 07:02 vimalk78