Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelativeFromTo ¶
RelativeFromTo Returns the relative path from file "f" to file "rel".
Example: f := "/path/to/dir1/file1.jpg" rel := "/path/to/dir2/file2.jpg" path.RelativeFromTo(f, rel) // returns "../dir2/file2.jpg"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.