Adding go-wire-core to a Go project is as easy as calling this command
go get -u github.com/Becklyn/go-wire-core
We provide packages for common use cases:
env
: Environment variables processingfiber
: Webservergraphql
: GraphQLgrpc
: Basis of a gRPC serverhealth
: Health indicationlogging
: Loggingmetrics
: Automatic webserver metricsreadyness
: Readyness indication
You can see detailed documentation in the README.md
based at the root of the packages.
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
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