Skip to content

[safecast] Adds safe numeric cast helpers, including generic value and reference casting, with clamping#824

Merged
acabarbaye merged 2 commits into
masterfrom
safecast-extension
Mar 18, 2026
Merged

[safecast] Adds safe numeric cast helpers, including generic value and reference casting, with clamping#824
acabarbaye merged 2 commits into
masterfrom
safecast-extension

Conversation

@acabarbaye

@acabarbaye acabarbaye commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

helpers to perform casting in a safe way

nirmalsunny
nirmalsunny previously approved these changes Mar 18, 2026

@nirmalsunny nirmalsunny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread utils/safecast/cast.go Outdated
@acabarbaye acabarbaye merged commit f45ce68 into master Mar 18, 2026
6 checks passed
@acabarbaye acabarbaye deleted the safecast-extension branch March 18, 2026 09:37
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.

2 participants