render

package
v0.0.0-...-57fe098 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package render contains utilities for formatting values for display.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPath

func AbsPath(p string) string

AbsPath formats file or directory path, substituting ~ for the current user's home directory, if possible.

func RelPath

func RelPath(p string) string

RelPath formats file or directory path in the shortest way possible, using paths relative to the current working directory, if possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL