# README
explorer
Explorer - tool for working with files & folders
package main
import (
"fmt"
"github.com/lowl11/boost/pkg/io/explorer"
"log"
)
func main() {
cdn, err := explorer.New("cdn")
if err != nil {
log.Fatal(err) // panic if folder not found
}
testTxt, err := cdn.ReadFile("test.txt")
if err != nil {
log.Fatal(err)
}
fmt.Printf("test.txt content: %s\n", testTxt)
subCdn, err := cdn.SubFolder("sub_cdn")
if err != nil {
log.Fatal(err)
}
subTestTxt, err := subCdn.ReadFile("sub_test.txt")
if err != nil {
log.Fatal(err)
}
fmt.Printf("subTest.txt content: %s\n", testTxt)
}
# Functions
No description provided by the author
# Interfaces
No description provided by the author