Go-Sort is a CLI application that provides a suite of commands for handling binary files and sorting operations. The application is built in Go and features three main commands:
Generate: Creates a sample binary file in a specific format (the first number as int64 indicating the number of subsequent int32 numbers).
Sort: Sorts a given binary file using the sample sort algorithm with concurrent sorting techniques and a k-ways merge algorithm implemented using a min-heap.
Verify: Sequentially verifies the sorted file for correctness.
Requirements
Go version 1.21.4
Dependencies:
github.com/fatih/color v1.16.0
github.com/spf13/cobra v1.8.0
Installation
To install Go-Sort, you need to have Go installed on your system (Follow the instructions: https://go.dev/dl/).