Registry / utility / otiai10-primes

otiai10-primes

JSON →
library0.4.0gogounverified

A Go library for prime number generation and related operations.

go get github.com/otiai10/primes
INSTALL
IMPORT
SIG · OTIAI10-PRIMES
O
otiai10-primes
utilitygov0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

primes
github.com/otiai10/primes

Check if a number is prime.

package main import ( "fmt" "github.com/otiai10/primes" ) func main() { fmt.Println(primes.IsPrime(7)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
otiai10-primes — go get otiai10-primes · libregistry