todas as opções
forky  ] [  sid  ] [  experimental  ]
[ Fonte: golang-fortio-safecast  ]

Pacote: golang-fortio-safecast-dev (1.2.0-1)

Links para golang-fortio-safecast-dev

Screenshot

Recursos de Debian:

Baixe o pacote-fonte golang-fortio-safecast:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Download de golang-fortio-safecast-dev

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 5.9 kB31.0 kB [lista de arquivos]