Created
December 26, 2018 13:59
-
-
Save adem/e318b38fc27fcb08b3e8a9935e26d7a2 to your computer and use it in GitHub Desktop.
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
package scope | |
import ( | |
"log" | |
"os" | |
) | |
var cwd string | |
func init() { | |
cwd, err := os.Getwd() | |
if err != nil { | |
log.Fatalf("os.Getwd failed: %v", err) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment