utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendUnique

func AppendUnique(slice []string, v string) []string

Appends a string to a slice only if it's not already present.

func PathToURI

func PathToURI(p string) string

Converts a filesystem path to a "file://" URI.

func UriToPath

func UriToPath(u string) string

Converts a "file://" URI to a filesystem path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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