Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContentTypeHTML = "HTML" ContentTypeJS = "JS" )
View Source
const (
NamespaceRaw = "raw"
)
Variables ¶
This section is empty.
Functions ¶
func IsRelativePath ¶
func NormalizeURL ¶
Types ¶
type ContentType ¶
type ContentType = string
func DetectContentType ¶
func DetectContentType(content string) ContentType
Click to show internal directories.
Click to hide internal directories.