bykof / go-plantuml

Generate plantuml diagrams from go source files or directories
MIT License
388 stars 27 forks source link

issue with golang 1.18 - golang.org/x/sys/unix #11

Closed rohitkeshwani07 closed 2 years ago

rohitkeshwani07 commented 2 years ago

I am getting

go: downloading github.com/bykof/go-plantuml v1.0.0
# golang.org/x/sys/unix
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20200121082415-34d275377bf9/unix/zsyscall_darwin_arm64.go:121:3: too many errors
make: *** [deps] Error 2

when running

go install github.com/bykof/go-plantuml@v1.0.0

related issue 49219

bykof commented 2 years ago

Thank you very much for contributing! :)