common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeHTML = "HTML"
	ContentTypeJS   = "JS"
)
View Source
const (
	NamespaceRaw = "raw"
)

Variables

This section is empty.

Functions

func IsRelativePath

func IsRelativePath(str string) bool

func NormalizeURL

func NormalizeURL(rawURL string) string

func StrPtr

func StrPtr(s *string) string

Types

type ContentType

type ContentType = string

func DetectContentType

func DetectContentType(content string) ContentType

Jump to

Keyboard shortcuts

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