diff options
author | Julien Dessaux | 2021-01-13 15:57:06 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-01-13 15:57:06 +0100 |
commit | 80cbc184c3ebc6424057a9b8cddcc0e86cd29d43 (patch) | |
tree | 917471a7955ce3540330c5015b6406dadf86b4a5 /main.go | |
parent | Finished implementing config tests (diff) | |
download | shell-game-launcher-80cbc184c3ebc6424057a9b8cddcc0e86cd29d43.tar.gz shell-game-launcher-80cbc184c3ebc6424057a9b8cddcc0e86cd29d43.tar.bz2 shell-game-launcher-80cbc184c3ebc6424057a9b8cddcc0e86cd29d43.zip |
Have the configuration loadFile function return a pointer
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main.go b/main.go deleted file mode 100644 index 5ab16fd..0000000 --- a/main.go +++ /dev/null @@ -1,14 +0,0 @@ -package main - -import ( - "log" - "shell-game-launcher/config" -) - -func main() { - config, err := config.LoadFile("example/complete.yaml") - if err != nil { - log.Fatal(err) - } - log.Printf("%+v", config) -} |