laskoviymishka opened a new pull request, #2697: URL: https://github.com/apache/iceberg-go/pull/2697
This adds `internal/uuid`, which is now the only place the root package gets `github.com/google/uuid` from, and an exported `iceberg.UUID` alias on top of it. The root package's code and tests switch to the alias and the internal `New`, `NewRandom`, `Parse`, `FromBytes` and `Nil` helpers. Because `UUID` is a type alias, signatures such as `UUIDLiteral` and `LiteralType` keep the exact same type, so this is not a breaking change. The helpers stay internal to keep the v1 surface to the one alias. The existing tests pass unchanged apart from imports, along with `go build ./...` and `go vet ./...`. No root file imports `google/uuid` anymore. Follow-up PRs move `table`, `view`, `udf`, `catalog` and `cmd` to the same package, and the last one adds the Go 1.27 build tag that points the alias at the standard library `uuid`. Part of #2062. > AI-assisted, reviewed by a human. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
