Skip to content

Conversation

@chrismarget-j
Copy link
Member

@chrismarget-j chrismarget-j commented Oct 31, 2025

This PR introduces the internal/value package with value creation functions moved over from the utils package.

Lots of files changed, but every edit is an IDE refactor operation or mandatory (required by CI) formatting with gofumpt.

The function renaming looks like:

  • utils.StringValueWithNull() -> value.StringWithNull()
  • utils.StringValueOrNull() -> value.StringOrNull()
  • utils.MapValueOrNull() -> value.MapOrNull()
  • utils.ListValueOrNull() -> value.ListOrNull()
  • utils.SetValueOrNull() -> value.SetOrNull()
  • utils.ObjectValueOrNull() -> value.ObjectOrNull()
  • utils.Int64ValueOrNull() -> value.Int64OrNull()
  • utils.Int64PointerValue() -> value.Int64FromPointer()
  • utils.Ipv4AddrValue() -> value.Ipv4Addr()
  • utils.Ipv6AddrValue() -> value.Ipv6Addr()
  • utils.Ipv4PrefixPointerValue() -> value.Ipv4PrefixPointer()
  • utils.Ipv6PrefixPointerValue() -> value.Ipv6PrefixPointer()

@chrismarget-j chrismarget-j merged commit efe4c2a into main Nov 4, 2025
1 check passed
@chrismarget-j chrismarget-j deleted the internal-value-package branch November 4, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants