{"repo":"hvuhsg/GoAPI","free":true,"listed":false,"github":"https://github.com/hvuhsg/GoAPI","clone":"git clone https://github.com/hvuhsg/GoAPI.git","description":"GoAPI - A Fast and Easy-to-use Web Framework for Building APIs in Go","language":"Go","stars":87,"topics":["api","go","high-performance","openapi3","web-framework","json","rest","swagger","web","ngrok"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GoAPI A Fast and Easy-to-use Web Framework for Building APIs in Go --- Documentation : https://github.com/hvuhsg/GoAPI/README.md Source Code : https://github.com/hvuhsg/GoAPI --- GoAPI is a web framework written in Go that is inspired by FastAPI. It allows you to quickly build and deploy RESTful APIs with minimal effort. The framework comes with built-in validators that can be used to validate and auto-build the API schema with OpenAPI format (version 3). This means you can focus on the main logic of your application while the framework handles the validation and API documentation generation. The key features are: - automatic docs ---- - extensible validators system ---- - high level syntax ---- - middlewares support ---- - native handlers support ---- - SSL/TLS support ---- - ngrok tunnel built in ---- Quick Start Install To install GoAPI, you need to have Go version 1.13 or higher installed on your system. Once you have installed Go, you can use the following command to install GoAPI: Usage To use GoAPI, you need to import it in your Go code and create a new instance of the goapi.App object: Once you have created the app instance, you can add routes to it by calling the Path() method and specifying the route path. You can also set the HTTP methods that the route supports using the Methods() method. Here is an example of a route that support GET method: In the above example, we have created a route at /echo that supports GET method. We have also added a description for the r","default_branch":null,"files":null,"tree":[],"storefront":"/r/hvuhsg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hvuhsg/GoAPI/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."}