- update
docker/
image and go-common image - fix docker build, add tests from all repos to include all requirements
- eliminate go-echo-swagger, upload swagger files to apidocs..com/service. Go-echo-swagger adds a lot of dependencies and slows down every request
- [server/middleware/ip_address.go#L18](use echo.RealIP()) instead of our custom code
- Set up proper middleware to get user ip address correctly, https://echo.labstack.com/docs/ip-address
- refactor middleware to have config same as echo ones
- replace
configurator.NewConfiguration
withconfigurator.NewConfigurator
and runconfigurator.NewConfiguration
only at start
- add replace to go.mod file to work locally, example
replace github.com/webdevelop-pro/go-common/queue => /home/go-common/queue
- once you finish run tests to verify go-common is working properly
- if tests are passed commit and push
- one pushed open queue (or any other package) and update requirements with latest push go get github.com/webdevelop-pro/go-common/context@
- look on the new version hash in queue/go.mod and update dependencies everywhere
./make.sh update-version <old-version> <new-version>
- For example
./make.sh update-version v0.0.0-20210101163630-b4ea9f10773c v0.0.0-20240928194423-e378b7eda3d5