Discover Packages
go.abhg.dev/doc2go
internal
relative
package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Feb 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package relative turns paths and file paths relative
with string manipulation exclusively.
Filepath returns a path to dst, relative to src.
Both paths must be relative or both paths must be absolute,
and they must both be valid file paths for the current system.
This operation relies on string manipulation exlusively,
so it doesn't fail.
Path returns a path to dst, relative to src.
Both paths must be relative or both paths must be absolute,
and they must both be /-separated.
This operation relies on string manipulation exlusively,
so it doesn't fail.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.