Home

Awesome

GoDoc License Go Report Card

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