aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJulien Dessaux2021-01-13 15:57:06 +0100
committerJulien Dessaux2021-01-13 15:57:06 +0100
commit80cbc184c3ebc6424057a9b8cddcc0e86cd29d43 (patch)
tree917471a7955ce3540330c5015b6406dadf86b4a5 /main.go
parentFinished implementing config tests (diff)
downloadshell-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 '')
-rw-r--r--main.go14
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)
-}