All Projects → go-macaron → docs

go-macaron / docs

Licence: Apache-2.0 license
An open source project for Macaron documentation.

Projects that are alternatives of or similar to docs

Macaron
Package macaron is a high productive and modular web framework in Go.
Stars: ✭ 3,233 (+22992.86%)
Mutual labels:  macaron
mir
Mir is a toolkit for register method handler to http engine router(eg: gin,echo,iris,mux,httprouter) use struct tag info.
Stars: ✭ 42 (+200%)
Mutual labels:  macaron
session
Package session is a middleware that provides the session management of Macaron.
Stars: ✭ 26 (+85.71%)
Mutual labels:  macaron

Macaron

Package macaron is a high productive and modular web framework in Go. It takes basic ideology of Martini and extends in advance.

{% hint style="info" %} The minimum requirement of Go is 1.6. {% endhint %}

Quick Start

To install Macaron:

go get gopkg.in/macaron.v1

The very basic usage of Macaron:

package main

import "gopkg.in/macaron.v1"

func main() {
	m := macaron.Classic()
	m.Get("/", func() string {
		return "Hello world!"
	})
	m.Run()
}

Features

  • Powerful routing with suburl.
  • Flexible routes combinations.
  • Unlimited nested group routers.
  • Directly integrate with existing services.
  • Dynamically change template files at runtime.
  • Allow to use in-memory template and static files.
  • Easy to plugin/unplugin features with modular design.
  • Handy dependency injection powered by inject.
  • Better router layer and less reflection make faster speed.

Use Cases

  • Gogs: A painless self-hosted Git Service
  • Grafana: The open source analytics & monitoring solution for every database
  • Peach Docs: A modern documentation web server
  • Go Walker: Go online API documentation
  • Intel Stack: A 100% free intelligence marketplace

Getting More

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].