views

package
v0.0.0-...-db2d94d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Repo *git.Repo

Functions

func CompareDict

func CompareDict(r render.Render, params martini.Params, html html.HTMLContext)

func CreateDict

func CreateDict(params martini.Params, commit Commit, errs binding.Errors, r render.Render)

func DeleteDict

func DeleteDict(params martini.Params, html html.HTMLContext, r render.Render)

func DictHistory

func DictHistory(r render.Render, params martini.Params, html html.HTMLContext)

func DictIndex

func DictIndex(r render.Render, html html.HTMLContext)

func EditDict

func EditDict(r render.Render, params martini.Params, html html.HTMLContext)

func Home

func Home() string

func NewDict

func NewDict(r render.Render, params martini.Params, html html.HTMLContext)

func ShowDict

func ShowDict(r render.Render, params martini.Params, html html.HTMLContext)

func UpdateDict

func UpdateDict(params martini.Params, commit Commit, errs binding.Errors, r render.Render)

Types

type APIResponse

type APIResponse struct {
	// contains filtered or unexported fields
}

type Commit

type Commit struct {
	Name    string `form:"name" binding:"required"`
	Content string `form:"content" binding:"required"`
	Message string `form:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL