Base Library for all the golang related projects.
A structured logging framework built on top of logrus. For detailed documentation, see the logger package README.
Feel free to submit issues and enhancement requests.
This project uses shared Makefile targets from core-config and can include local targets.
core-lib/makefile
CONFIG_PATH ?= ../core-config
ifneq (,$(wildcard $(CONFIG_PATH)/make/common.mk))
include $(CONFIG_PATH)/make/common.mk
endif
# Local targets can be added here- Common targets from core-config/make/common.mk are available
- Local targets can be added directly in this Makefile
- Run
make helpto see all available targets
- Development targets (build, test, etc.)
- Service connections (redis, postgres, etc.)
- Information commands (help, info)
Add your project-specific targets in the local Makefile:
local-build:
@echo "Building core-lib locally"
@go build ./...- Ensure core-config is available at the correct path
- Run
make helpto verify available targets - Use common targets or add local ones as needed
- Infrastructure setup targets are in core-config/local/makefile
- Service deployment targets are in core-config/local/makefile
- Common development targets are in core-config/make/common.mk