---
title: "Discussion on \"listing a directory\" | Hashnode"
description: "Discussion on \"listing a directory\". Create a directory named folder.\nCreate the listdir.go file with the following content:\n\n        package main\n\n        import (\n          \"fmt\"\n          \"io/ioutil\"\n          \"os\"\n          \"path/filepath\"\n        )\n\n        func main() {\n\n         ..."
url: "https://hashnode.com/posts/listing-a-directory--deleted/6280e8a7bc9305ec39364d3b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [listing a directory](https://blog.cloudnativefolks.org/listing-a-directory--deleted?utm_source=hashnode&utm_medium=feed)

Create a directory named folder. Create the listdir.go file with the following content: package main import ( "fmt" "io/ioutil" "os" "path/filepath" ) func main() { ...

May 15, 2022 · 2 min read · blog.cloudnativefolks.org  
Read the article

## Written by

[Sangam Biradar](https://hashnode.com/@sangambiradar)

@sangambiradar · India

  
[View profile](https://hashnode.com/@sangambiradar)

AI Security

DevRel at StackGen | Formerly at Deepfence ,Tenable , Accurics | AWS Community Builder also Docker Community Award Winner at Dockercon2020 | CyberSecurity Innovator of Year 2023 award by Bsides Bangalore | Docker/HashiCorp Meetup Organiser Bangalore &amp; Co-Author of Learn Lightweight Kubernetes with k3s (2019) , Packt Publication &amp; also run Non Profit CloudNativeFolks / CloudSecCorner Community To Empower Free Education reach out me twitterhttps://twitter.com/sangamtwts or just follow on GitHub -&gt; https://github.com/sangam14 for Valuable Resources

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
