---
title: "Discussion on \"Loading files in Go\" | Hashnode"
description: "Discussion on \"Loading files in Go\". How to load a file in go irrespective of location of caller ? \nThis is a very common scenario of loading files in your program. For simplicity, let's assume the following path & directory structure.\npath: /Users/gyanesh/foo/\n.\n└── foo\n    ├── config...."
url: "https://hashnode.com/posts/loading-files-in-go/5f5be03e13599a5f2e33ecef"
---

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

Discussion

# [Loading files in Go](https://depthbybreath.hashnode.dev/loading-files-in-go?utm_source=hashnode&utm_medium=feed)

How to load a file in go irrespective of location of caller ? This is a very common scenario of loading files in your program. For simplicity, let's assume the following path & directory structure. path: /Users/gyanesh/foo/ . └── foo ├── config....

Sep 11, 2020 · 2 min read · depthbybreath.hashnode.dev  
Read the article

-   [#go-cjffccfnf0024tjs1mcwab09t](https://hashnode.com/tag/go-cjffccfnf0024tjs1mcwab09t)
-   [#go](https://hashnode.com/tag/go)

## Written by

[Gyanesh Malhotra](https://hashnode.com/@gyanesh)

@gyanesh

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
