View definition

func ToHookContentType

Defined in github.com/gogits/gogs/models/webhook.go

Description

ToHookContentType returns HookContentType by given name.