Documentation ¶ Overview ¶ Package uri defines a simple uri type Index ¶ type Host func (h Host) AddPrefix(prefix string) Host func (h Host) GetRootHost() string func (h Host) GetSlug() string func (h Host) ToURL() URL type URL Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Host ¶ type Host string https://en.wikipedia.org/wiki/Uniform_Resource_Identifier . func (Host) AddPrefix ¶ func (h Host) AddPrefix(prefix string) Host func (Host) GetRootHost ¶ func (h Host) GetRootHost() string func (Host) GetSlug ¶ func (h Host) GetSlug() string func (Host) ToURL ¶ func (h Host) ToURL() URL type URL ¶ type URL string https://en.wikipedia.org/wiki/Uniform_Resource_Identifier . Source Files ¶ View all Source files uri.go Click to show internal directories. Click to hide internal directories.