Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hehu80 committed Sep 15, 2024
1 parent aa24fdc commit 0c6d124
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@ import (
)

func main() {
entries, err := os.ReadDir("./")
if err != nil {
fmt.Println("./:")
for _, e := range entries {
fmt.Println(e.Name())
}
}

entries, err = os.ReadDir("/mnt/data")
if err != nil {
fmt.Println("/mnt/data:")
for _, e := range entries {
fmt.Println(e.Name())
}
}

entries, err = os.ReadDir("/data")
if err != nil {
fmt.Println("/data:")
for _, e := range entries {
fmt.Println(e.Name())
}
}

// get the config
conf := config.New()

Expand Down

0 comments on commit 0c6d124

Please sign in to comment.