[PATCH] D112067: [bindings/go] add go.mod file

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 15:46:39 PST 2022


aykevl added a comment.

This doesn't look like a correct Go module name:

  $ go get llvm.org/llvm/bindings/go/llvm
  go get: unrecognized import path "llvm.org/llvm/bindings/go/llvm": GOVCS disallows using svn for public llvm.org/llvm; see 'go help vcs'

I see two options:

1. Add the go-import meta tag, see https://gianarb.it/blog/go-mod-vanity-url for example.
2. Use `github.com/llvm/llvm-project/llvm/bindings/go/llvm` instead.

The first one might be the cleaner option, while the second one will likely be easier to implement.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112067/new/

https://reviews.llvm.org/D112067



More information about the llvm-commits mailing list