Documentation ¶
Overview ¶
Package misc provides some helper functions that are used in hit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValue ¶
GetValue returns a reflect.Value and follows all pointers and interfaces until it reaches the base value.
func MakeTypeCopy ¶
func MakeTypeCopy(src interface{}) interface{}
MakeTypeCopy creates a copy of src, with the default value(s) for this type.
func MakeURL ¶
MakeURL joins two urls safely. example: MakeURL("http://example.com", "%s.html", "index") will return "http://example.com/index.html"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.