package
module
Version:
v0.0.0-...-00a011a
Opens a new window with list of versions in this module.
Published: Jan 13, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
Package baseurl provide utility to access X-Base-Url http header.
Current return current url.
Get return base url.
return empty string if base url cannot be inferred from request header.
base url will not have trailing slash
MustGet is like Get, but instead return empty string
it will recreate url from r if Get return empty string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.