Package: golang-fortio-safecast-dev
Source: golang-fortio-safecast
Version: 1.2.0-3
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Installed-Size: 31
Section: golang
Priority: optional
Multi-Arch: foreign
Homepage: https://github.com/fortio/safecast
Description: Go library for number type conversions safe from accidental overflow
 Avoid accidental overflow of numbers during go type conversions (e.g
 instead of shorter := bigger.(int8) type conversions use shorter :=
 safecast.MustConvert[int8](bigger).
 .
 Safecast allows one to safely convert between numeric types in Go and
 return errors (or panic when using the Must* variants) when the cast
 would result in a loss of precision, range or sign.
