diff --git a/.dockerignore b/.dockerignore index fc23a21..d90bc82 100644 --- a/.dockerignore +++ b/.dockerignore @@ -18,19 +18,36 @@ /.gitlab-ci.yml /.golangci.yaml -# OS +# Mac OS X files .DS_Store -# artefacts +# Binaries for programs and plugins *.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 +.glide/ + +# Artefacts /bin /build /data /docs + +# Dependency directories (remove the comment below to include it) /node_modules /vendor -# environment +# Environment /.env /.env.docker -/config.yaml \ No newline at end of file +/config.yaml diff --git a/.gitignore b/.gitignore index 5fcfef4..f3ded8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,24 +1,38 @@ -# go generations -*.exe - # IDEA project files /.idea # Visual Studio Code workspace files /.vscode /golang-app.code-workspace -# OS +# Mac OS X files .DS_Store -# artefacts +# Binaries for programs and plugins *.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 +.glide/ + +# Artefacts /bin /build /data + +# Dependency directories (remove the comment below to include it) /node_modules /vendor -# environment +# Environment /.env /.env.docker /config.yaml diff --git a/main.go b/main.go index 1d634a9..277dd5c 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "golang-app/config" + "golang-app/pkg/config" "log" ) diff --git a/config/Config.go b/pkg/config/Config.go similarity index 100% rename from config/Config.go rename to pkg/config/Config.go diff --git a/config/Config_test.go b/pkg/config/Config_test.go similarity index 100% rename from config/Config_test.go rename to pkg/config/Config_test.go