Skip to content

Commit 7c1c94a

Browse files
Add FAQ entry explaining pkg.go.dev module paths
1 parent 7bd18ac commit 7c1c94a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,14 @@ runtime bindings and error handling to do the right thing.
266266
* See the [CEL C++][3] toolchain (under development) for information about how
267267
to integrate CEL evaluation into other environments.
268268

269+
### Why are there multiple entries for cel-go on pkg.go.dev?
270+
271+
Due to historical changes in the module path defined in `go.mod`, documentation on `pkg.go.dev` is split across different paths depending on the version range:
272+
273+
* **[cel.dev/cel-go](https://pkg.go.dev/cel.dev/cel-go)**: Canonical path for **v0.32.0** and newer.
274+
* **[github.com/google/cel-go](https://pkg.go.dev/github.com/google/cel-go)**: Path for versions **v0.2.0** through **v0.31.0**.
275+
* **[github.com/cel-expr/cel-go](https://pkg.go.dev/github.com/cel-expr/cel-go)**: Only contains **v0.1.0** (tagged before `go.mod` was introduced).
276+
269277
### How can I contribute?
270278

271279
* See [CONTRIBUTING.md](./CONTRIBUTING.md) to get started.

0 commit comments

Comments
 (0)