shred
December 11, 2020 ยท View on GitHub
shred
Package shred is a golang library to mimic the functionality of the linux shred command
Usage
package main
import (
"github.com/lu4p/shred"
)
func main(){
shredconf := shred.Conf{Times: 1, Zeros: true, Remove: false}
shredconf.Path("filename")
}
Installation
go get -u github.com/lu4p/shred