Created
April 16, 2019 16:11
-
-
Save leandroh/c9222b6f4f08577959d7a2e8d85e2199 to your computer and use it in GitHub Desktop.
Export environment variables and run a simple Go API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export $(egrep -v '^#' .env | xargs) | |
go run cmd/api/main.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment