Use the environment variables
mkdir 04-env-var-go
cd 04-env-var-go
go mod init env-var-go
touch main.go
Use the source code of the third exercise and use an environment variable to configure the application (to set the name of the text file).
Read:
- to use the environment variables with Go:https://gobyexample.com/environment-variables
- to find how to run the wasm file: https://wasmedge.org/docs/start/build-and-run/cli/