Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* Go 1.13+
* Go Modules

## Disclaimer
You probably don't need this library anymore. Although it was very useful in its time, Go now has built-in file embedding functionality as of Go 1.16. Being natively supported, `go:embed` is notably easier to use, as it doesn't require importing external libraries, or running an explicit pre-build step to generate the embedded file data. See the Go embed documentation for more details: https://pkg.go.dev/embed

However, if you're unconvinced or still need to use `pkger` for whatever reason, read on:

## How it Works (Module Aware Pathing)

Pkger is powered by the dark magic of Go Modules, so they're like, totally required.
Expand Down