package
Version:
v0.0.0-...-3532b54
Opens a new window with list of versions in this module.
Published: Oct 20, 2016
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func FactorizationGenerator(n int, done chan struct{}) <-chan int
FactorizationGenerator generates prime factors of n until closed
func Generator(done chan struct{}) <-chan int
Generator generates prime numbers until closed
IsPrime returns true if n is prime
Source Files
¶
Click to show internal directories.
Click to hide internal directories.