wszystkie opcje
forky  ] [  sid  ] [  experimental  ]
[ Pakiet źródłowy: golang-fortio-safecast  ]

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

Odnośniki dla golang-fortio-safecast-dev

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego golang-fortio-safecast:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

Pakiet eksperymentalny

Ostrzeżenie: Pakiet pochodzi z dystrybucji eksperymentalnej. Oznacza to, że prawdopodobnie jest niestabilny lub zawiera błędy i może spowodować nawet utratę danych. Przed użyciem pakietu proszę koniecznie zapoznać się z dziennikiem zmian i inną dostępną dokumentacją.

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.

Pobieranie golang-fortio-safecast-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 6,0 KiB31,0 KiB [lista plików]