package main import ( "embed" "fmt" ) //go:embed example var fs embed.FS func main() { fmt.Println(fs.ReadDir("example")) }