{"repo":"kujtimiihoxha/kit","free":true,"listed":false,"github":"https://github.com/kujtimiihoxha/kit","clone":"git clone https://github.com/kujtimiihoxha/kit.git","description":"GoKit CLI","language":"Go","stars":728,"topics":["gokit","kit","go-kit","golang"],"license":"MIT","category":"cli-tools","readme_excerpt":"GoKit CLI This project is a more advanced version of gk. The goal of the gokit cli is to be a tool that you can use while you develop your microservices with gokit . While gk did help you create your basic folder structure it was not really able to be used further on in your project. This is what GoKit Cli is aiming to change. Prerequisites GoKit Cli needs to be installed using go get and go install so Go is a requirement to be able to test your services gokit is needed. To utilise generation of gRPC service code through kit generate service -t grpc you will need to install the grpc prequisites. Table of Content - Installation - Usage - Create a new service - Generate the service - Generate the client library - Generate new middlewares - Enable docker integration Installation Before you install please read prerequisites Usage Also read this medium story Create a new service This will generate the initial folder structure and the service interface service-name/pkg/service/service.go Generate the service This command will do these things: - Create the service boilerplate: hello/pkg/service/service.go - Create the service middleware: hello/pkg/service/middleware.go - Create the endpoint: hello/pkg/endpoint/endpoint.go and hello/pkg/endpoint/endpoint gen.go - If using --dmw create the endpoint middleware: hello/pkg/endpoint/middleware.go - Create the transport files e.x http : service-name/pkg/http/handler.go - Create the service main file :boom: hello/cmd/service/service.go hell","default_branch":null,"files":null,"tree":[],"storefront":"/r/kujtimiihoxha","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kujtimiihoxha/kit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}