Alle Optionen
trixie  ] [  forky  ] [  sid  ]
[ Quellcode: golang-github-ccoveille-go-safecast  ]

Paket: golang-github-ccoveille-go-safecast-dev (1.6.0-1)

Links für golang-github-ccoveille-go-safecast-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-ccoveille-go-safecast herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

Safe number conversion in Go

go-safecast solves the type conversion issues in Go.

Address gosec G115 and cwe-190 Integer Overflow or Wraparound (library).

In Go, integer type conversion can lead to a silent and unexpected behavior and errors if not handled carefully.

This package helps to convert any number to another, and report an error when if there would be a loss or overflow in the conversion.

This package contains the Go development library.

golang-github-ccoveille-go-safecast-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 12,6 kB126,0 kB [Liste der Dateien]