Documentation ¶
Index ¶
- Variables
- func ExtractRefFromFullRef(fullRef string) string
- func NormaliseFullRef[S string | *string](ref S) string
- func NormaliseFullRefPtr[S string | *string](ref S) *string
- func NormaliseRef[S string | *string](ref S) string
- func NormaliseRefPtr[S string | *string](ref S) *string
- func Ptr[T any](v T) *T
- func RespondHTTP(response Response, err error, rw http.ResponseWriter)
- func String(p *string) string
- func Truncate(s string, n int) string
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var OnceAMinute = onceAMinute()
Functions ¶
func ExtractRefFromFullRef ¶
func NormaliseFullRef ¶
func NormaliseFullRefPtr ¶
func NormaliseRef ¶
func NormaliseRefPtr ¶
func RespondHTTP ¶
func RespondHTTP(response Response, err error, rw http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.