---
title: "Discussion on \"Sharing Resources In Your Go Code\" | Hashnode"
description: "Discussion on \"Sharing Resources In Your Go Code\". Learn how to share resources like database connection and other things among different go packages in your project."
url: "https://hashnode.com/posts/sharing-resources-in-your-go-code/6144eceda2b54e17a52c058f"
---

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

Discussion

# [Sharing Resources In Your Go Code](https://blog.harishdurga.com/sharing-resources-in-your-go-code?utm_source=hashnode&utm_medium=feed)

Learn how to share resources like database connection and other things among different go packages in your project.

Sep 17, 2021 · 4 min read · blog.harishdurga.com  
Read the article

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

## Written by

[Harish Durga](https://hashnode.com/@harishd)

@harishd · Bengaluru, India

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

Full Stack Dev. I share my learnings.

I am full stack developer. I work on fun projects in my free time. At present my primary tech stack is Laravel and Vue js. I am in the process of expanding my tech stack. Go, Python, Cloud, Rust etc.

## Responses 1

Markdown supported · ⌘↵ to post

[Samyak Ramteke](https://hashnode.com/@SamyakRamteke)

[Sep 18, 2021](https://hashnode.com/posts/sharing-resources-in-your-go-code/6144eceda2b54e17a52c058f/comment/61457d52a2b54e17a52c1a22)

Thanks for sharing. Super helpful
