forked from loopfz/gadgeto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
27 lines (21 loc) · 1.2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Gadgeto!
Author: Thomas Schaffer
Language: Golang
License: MIT
Gadgeto! 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.