-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Passing struct to new functions (#503)
* GatewayDError initialized directly, and NewGatewayDError deleted * Pass config.Config to NewConfig function * Pass Regsitry struct to NewActRegistry function * Pass GRPCServer struct to NewGRPCServer function * Pass Registry struct to NewRegistry function * Pass Merger struct to NewMerger function * Pass Retry struct to NewRetry function * Pass Proxy struct to NewProxy function * Pass ConnWrapper struct to NewConnWrapper function * Pass Server struct to NewServer function * solving some warnings of golang-ci-lint * Update dependencies and fix issues (#505) * Update deps * Remove unnecessary conversion * Use grpc.NewClient instead of the deprecated grpc.Dial * Remove copied loop variable * Use integer range * Remove unused nolint:wrapchecks * Fix variable usage * Use latest version of golangci-lint * Fix nil pointer error when creating a new gRPC server * Fix other minor issues * Improve Makefile by combining all build targets for different platforms into a single target (#507) * Fix issues found during code inspection (#508) * Fix issues found during code inspection * Fix issues reported by linters * Address comments --------- Signed-off-by: Mostafa Moradian <[email protected]> Co-authored-by: mam <[email protected]> Co-authored-by: Mostafa Moradian <[email protected]>
- Loading branch information
1 parent
439deda
commit cf2b43d
Showing
26 changed files
with
1,016 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.