# Embed pkg in Go 1.16

**URL:** <https://discuss.write.as/t/embed-pkg-in-go-1-16/2484>\
**Category:** Development\
**Tags:** writefreely\
**Created:** [February 18, 2021, 3:49pm UTC](https://discuss.write.as/t/embed-pkg-in-go-1-16/2484 "2021-02-18T15:49:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://discuss.write.as/user_avatar/discuss.write.as/matt/32/2760_2.png) [@matt](https://discuss.write.as/u/matt)\
**Post date:** [February 18, 2021, 3:49pm UTC](https://discuss.write.as/t/embed-pkg-in-go-1-16/2484/1 "2021-02-18T15:49:09Z")

</div>

I just came across the [`embed`](https://golang.org/pkg/embed/) package in Go 1.16. Seems like this could make it easy to package all templates, pages, and static files into the binary and simplify WriteFreely distribution. We might also eliminate the `go-bindata` dependency for our included schema files.

Maybe something we should move to?

---

<div class="post-metadata">

**Author:** ![colby](https://discuss.write.as/letter_avatar_proxy/v4/letter/c/d07c76/32.png) [@colby](https://discuss.write.as/u/colby)\
**Post date:** [April 21, 2021, 3:22pm UTC](https://discuss.write.as/t/embed-pkg-in-go-1-16/2484/2 "2021-04-21T15:22:59Z")

</div>

For cross-reference purposes, a related Phabricator task: T536 ([https://phabricator.write.as/T536](https://phabricator.write.as/T536))
