Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loopfz/gadgeto
Gadgeto! is a collection of tools that aim to facilitate the development of REST APIs in Go.
https://github.com/loopfz/gadgeto
golang golang-library http mock rest-api test-framework
Last synced: 13 days ago
JSON representation
Gadgeto! is a collection of tools that aim to facilitate the development of REST APIs in Go.
- Host: GitHub
- URL: https://github.com/loopfz/gadgeto
- Owner: loopfz
- License: mit
- Created: 2015-11-19T19:19:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T22:40:07.000Z (5 months ago)
- Last Synced: 2024-10-16T14:12:19.799Z (28 days ago)
- Topics: golang, golang-library, http, mock, rest-api, test-framework
- Language: Go
- Size: 187 KB
- Stars: 58
- Watchers: 8
- Forks: 50
- Open Issues: 19
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
# Gadgeto!
Author: Thomas Schaffer
Language: Golang
License: MITGadgeto! is a collection of tools that aim to facilitate the development of
REST APIs in Go.
These tools are based on and enrich popular open-source solutions, to provide
higher-level functionalities.Components:
- tonic: Based on the REST framework Gin (https://github.com/gin-gonic/gin),
tonic lets you write simpler handler functions, and handles
repetitive tasks for you (parameter binding, error handling).- zesty: Based on Gorp (https://github.com/go-gorp/gorp), zesty abstracts
DB specifics for easy (nested) transaction management.- iffy: An HTTP testing library for functional/unit tests,
iffy does all the hard work (http, marshaling, templating...) and
lets you describe http calls as one-liners, chaining them in complex scenarios.- amock: An HTTP mocking library. amock lets you easily write mock objects to inject
into http clients.
It does not require any go-generate tricks, and lets you inject mocks
into existing libraries that may not be properly abstracted through interfaces.