Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/mod/modregistry: add Module.Version method
This makes the API slightly more ergonomic, avoiding the need for callers to pass the `*Module` around with its corresponding version. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I40496445fc75cbb18096b31eb703a94570b2ddbd Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1173787 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information