binclude
Include files in your binary the easy way
File Explorer
- config.yml
- go.yml
- FUNDING.yml
- main.go
- main.go
- absolute.txt
- bincludeexists.txt
- debug.txt
- filetargetnames.txt
- fromfile.txt
- gzip.txt
- inaccessibleassets.txt
- inaccessiblego.txt
- includeglob.txt
- multiFiles.txt
- multiPackages.txt
- nogofiles.txt
- nonexisting.txt
- test.txt
- unwritable.txt
- bench_test.go
- gen.go
- gen_test.go
- inject.go
- main.go
- binclude.go
- binclude_darwin.go
- binclude_linux.go
- binclude_windows.go
- example.go
- example_darwin.go
- example_linux.go
- example_windows.go
- binexec.go
- binexec_test.go
- main.go
- subdirasset1.txt
- subdirasset2.txt
- asset1.txt
- asset2.txt
- logo_nocompress.png
- binclude.go
- file.txt
- main.go
- .gitattributes
- .gitignore
- binclude.go
- binclude_test.go
- go.mod
- go.sum
- LICENSE
- README.md
- renovate.json
- test.sh
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
Command Glossary
Commands referenced in this DOCs, explained below.
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go generate
View Details ▼
go generate
Generate Go files by running commands within source files.
go generate
Generate Go files by running commands within source files:
upx
View Details ▼
upx
Compress or decompress executables.
upx {{path/to/file}}
Compress executable:
upx -d {{path/to/file}}
Decompress executable:
upx --help
Display help:
# Project Badges
// repository documentation
Was this content helpful?
(0 ratings)
