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