Golang Read Directory Arquivos
package main
import (
"fmt"
"log"
"path/filepath"
)
func main() {
files, err := filepath.Glob("testFolder/*.go")
if err != nil {
log.Fatal(err)
}
for _, file := range files {
fmt.Println(file)
}
}
Real Rat