A tiny Go library to hide/show files and directories
$ go get github.com/dastoori/go-fshidepackage main
import (
"fmt"
"github.com/dastoori/go-fshide"
)
func main() {
err := fshide.Hide("./path-to-hide", true)
if err != nil {
fmt.Println(err)
}
}- Windows support