module
Version:
v0.0.0-...-a12835d
Opens a new window with list of versions in this module.
Published: Nov 8, 2021
License: MIT
Opens a new window with license information.
README
¶
Example for embed static files into a binary
This is full project structure example of article The easiest way to embed static files into a binary file in your Golang app (no external dependencies).
Published on Dev.to @ 31 Jan 2020.
Requirements
Usage
- Clone this repository and go to folder:
git clone https://github.com/koddr/example-embed-static-files-go.git
cd example-embed-static-files-go
- Install
gosec
(I recommend):
go get github.com/securego/gosec/cmd/gosec
make build
make run

Author
Article assistance
If you want to say «thank you»:
- Twit about article on your Twitter.
- Add a GitHub Star and make Fork to this repository.
- Donate some money to project author via PayPal: @paypal.me/koddr or LiberaPay.
- Join DigitalOcean at our referral link (your profit is $100 and we get $25).
Thanks for your support! 😘
License
MIT
Directories
¶
cmd
|
|
|
|
internal
|
|
|
|
Click to show internal directories.
Click to hide internal directories.