Refactor configuration management and enhance build process
- Introduced a YAML-based configuration system, allowing for automatic generation of a default `config.yaml` file. - Updated the application to load configuration settings from the YAML file, improving flexibility and ease of use. - Added a Makefile to streamline development tasks, including running the application, testing, and managing dependencies. - Enhanced `.gitignore` to include build artifacts and configuration files. - Removed unused Prometheus metrics and related code to simplify the codebase. - Updated dependencies in `go.mod` and `go.sum` for improved functionality and performance.
This commit is contained in:
14
.gitignore
vendored
14
.gitignore
vendored
@@ -1,5 +1,11 @@
|
||||
dist/
|
||||
tmp/
|
||||
#build artifacts
|
||||
/dist/
|
||||
|
||||
#disk cache
|
||||
/disk/
|
||||
|
||||
#config file
|
||||
/config.yaml
|
||||
|
||||
#windows executables
|
||||
*.exe
|
||||
.smashed.txt
|
||||
.smashignore
|
||||
|
||||
Reference in New Issue
Block a user