---
title: "Discussion on \"How to embed the content of a file to a variable in Golang\" | Hashnode"
description: "Discussion on \"How to embed the content of a file to a variable in Golang\". A quick look at golang embed package"
url: "https://hashnode.com/posts/embed-file-variable-golang/604d2e2437d84907f13285e6"
---

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

Discussion

# [How to embed the content of a file to a variable in Golang](https://devmarkpro.com/embed-file-variable-golang?utm_source=hashnode&utm_medium=feed)

A quick look at golang embed package

Mar 11, 2021 · 2 min read · devmarkpro.com  
Updated Aug 15, 2021  
Read the article

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

## Written by

[Mark Karamyar](https://hashnode.com/@devmarkpro)

@devmarkpro · Amsterdam

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
