https://github.com/mitranim/gotools
[DEPRECATED] Micro-framework for Golang web servers
https://github.com/mitranim/gotools
Last synced: 24 days ago
JSON representation
[DEPRECATED] Micro-framework for Golang web servers
- Host: GitHub
- URL: https://github.com/mitranim/gotools
- Owner: mitranim
- Created: 2015-01-02T02:46:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-10T18:24:47.000Z (over 11 years ago)
- Last Synced: 2025-11-20T18:26:22.245Z (8 months ago)
- Language: Go
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Description
Micro-framework for Golang web servers. Condenses many common request handler tasks to a single function call or line of code.
Has modules for smart page rendering, contextual handler tasks, and database modeling.
Although the `gotools` are tied together in the root package, each component is independent from others and can be used in isolation. See their respective docs:
* [`render` readme](render)
* [`context` readme](context)
* [`dsadapter` readme](dsadapter)
`gotools` are orthogonal to middleware frameworks like [Martini](https://github.com/go-martini/martini) or [Gorilla](http://www.gorillatoolkit.org), and should be combined with them. The context component includes an [example code snippet](context/middleware.go) how to plug it into Martini as middleware.
### Installation
```shell
go get github.com/Mitranim/gotools
```
In your Go files:
```golang
import (
gt "github.com/Mitranim/gotools"
)
```
The root `gotools` package imports all of its components and republishes their parts with some adaptations. When using the whole package, you only need to import `gotools`.