gobyexample/examples/embed-directive/embed-directive.sh
peterzhu1992 1d932995f6
Add isDir() checks for measure.go and generate.go in tools
Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>
2022-05-24 00:08:09 -04:00

15 lines
368 B
Bash

# Use these commands to run the example.
# (Note: due to limitation on go playground,
# this example can only be run on your local machine.)
$ mkdir -p example_folder
$ echo "hello go" > example_folder/single_file.txt
$ echo "123" > example_folder/multi_file1.hash
$ echo "456" > example_folder/multi_file2.hash
$ go run embed-directive.go
hello go
hello go
123
456