binclude

(★ 274)

Include files in your binary the easy way

File Explorer

  • .gitattributes
  • .gitignore
  • binclude.go
  • binclude_test.go
  • go.mod
  • go.sum
  • LICENSE
  • README.md
  • renovate.json
  • test.sh

# Use via CDN

jsDelivr

jsDelivr 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.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

go build

View Details ▼

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 ▼

Generate Go files by running commands within source files.

go generate

Generate Go files by running commands within source files:

🔍

upx

View Details ▼

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