You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jfa-go/embed
Harvey Tindall adbb5b9d38
Fix filepath separator and external files on windows
4 years ago
..
README.md move all scripts to scripts/ 4 years ago
external.go Fix filepath separator and external files on windows 4 years ago
internal.go move all scripts to scripts/ 4 years ago

README.md

scripts/embed.py [internal/external] will copy the respective file into the main directory. If internal, //go:embed is used to embed the data/ directory in the binary. If external, os.DirFS is used to access the data/ directory, which should be placed next to the executable.