gobyexample/examples/embed-directive/embed-directive.sh
peterzhu1992 40ac3bff37
Add some improvements
Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>
2022-05-19 19:41:35 -04:00

16 lines
364 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