embed

command
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2020 License: BSD-2-Clause, CC0-1.0, Apache-2.0 Imports: 1 Imported by: 0

README

embed example

XBindata example with embed assets.

Install

go get -u github.com/moisespsena-go/xbindata/...
cd $GOPATH/src/github.com/moisespsena-go/xbindata/samples/embed

Generate bindata and Data Store program

xbindata -embed -pkg assets -prefix assets_root -o assets/assets.go assets_root/...

Compile

go build -o bin/embed

Append asset contents into executable

go run assets/data_store/main.go bin/embed

Run

cd bin
./embed -h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL