helper

package
Version: v0.0.0-...-f9dd4c8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitParam

func CommitParam(c echo.Context) (*model.Commit, error)

func PathParam

func PathParam(c echo.Context) string

sanatizes the path: don't every call Param("*") directly

func RefParam

func RefParam(c echo.Context, allowNil bool) (*model.Ref, error)

func RenderLogTree

func RenderLogTree(repo *model.Repo) []byte

func RepoParam

func RepoParam(c echo.Context) (*model.Repo, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto