The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Please have a look at the GoDoc documentation for a detailed API description.
Example
package main
import (
"fmt"
"github.com/kapitanov/go-cube"
)
func main() {
c, err := cube.NewCube(cube.AutoDetectPort)
if err != nil {
panic(err)
}
fmt.Print("Cube is RED\n")
c.Red()
fmt.Print("Cube is GREEN\n")
c.Green()
fmt.Print("Cube is BLINKING FAST IN RED AND GREEN\n")
c.Blink(cube.BlinkFast | cube.BlinkRed | cube.BlinkGreen)
fmt.Print("Cube is OFF\n")
c.Off()
}
type Cube interface {
// Off turns Cube off Off() error// Red turns Cube red Red() error// Green turns Cube green Green() error// Blink makes Cube blink several times Blink(mode BlinkMode) error// Close disconnects client from, Cube Close()
}