command
module
Version:
v0.0.0-...-f95575a
Opens a new window with list of versions in this module.
Published: Jul 9, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mixup
Shuffle standard input.
Install the binary to your current directory:
GOBIN="$(pwd)" go install github.com/clfs/mixup@latest
Examples
Sample input:
$ head main.go
package main
import (
"bufio"
"flag"
"fmt"
"log"
"math/rand/v2"
"os"
)
Random shuffle:
$ head main.go | mixup
import (
"os"
"flag"
"log"
"fmt"
"math/rand/v2"
package main
)
"bufio"
Deterministic shuffle:
$ head main.go | mixup -d
"flag"
"fmt"
"os"
package main
)
"math/rand/v2"
"bufio"
"log"
import (
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.