alle opties
forky  ] [  sid  ] [  experimental  ]
[ Bron: golang-fortio-safecast  ]

Pakket: golang-fortio-safecast-dev (1.2.0-2)

Verwijzigingen voor golang-fortio-safecast-dev

Screenshot

Debian bronnen:

Het bronpakket golang-fortio-safecast downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

Experimenteel pakket

Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.

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.

golang-fortio-safecast-dev downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 6,0 kB31,0 kB [overzicht]