https://github.com/becklyn/go-wire-core
⚙️ Core module shared across our go projects
https://github.com/becklyn/go-wire-core
Last synced: 3 months ago
JSON representation
⚙️ Core module shared across our go projects
- Host: GitHub
- URL: https://github.com/becklyn/go-wire-core
- Owner: Becklyn
- License: bsd-3-clause
- Created: 2022-09-28T14:37:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T13:54:01.000Z (6 months ago)
- Last Synced: 2025-01-14T03:13:31.481Z (4 months ago)
- Language: Go
- Size: 153 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# golang wire core package
## Installation
Adding _go-wire-core_ to a Go project is as easy as calling this command
```shell
go get -u github.com/Becklyn/go-wire-core
```## Packages
We provide packages for common use cases:
- `env`: Environment variables processing
- `fiber`: Webserver
- `graphql`: GraphQL
- `grpc`: Basis of a gRPC server
- `health`: Health indication
- `logging`: Logging
- `metrics`: Automatic webserver metrics
- `readyness`: Readyness indicationYou can see detailed documentation in the `README.md` based at the root of the packages.
## Usage
We recommend using the `app.Runtime` in your application. The app documentation gives an example of how to integrate the runtime and other packages into your app: [Documentation](app/README.md)
## Integrated 3rd party libraries
The list of 3rd party libraries that we provide as packages by this package:
- Fiber webserver - https://github.com/gofiber/fiber
- GraphQL - https://github.com/graphql-go/graphql
- gRPC - https://github.com/grpc/grpc-go
- Prometheus metrics - https://github.com/prometheus/client_golang