path

package
v0.0.0-...-fa603ae Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinURL

func JoinURL(urlStr string, pathStr string) string

JoinURL extends URL with additional path

func RandString

func RandString(n int) string

RandString generates a random string of n length.

func ToDirectoryURL

func ToDirectoryURL(url string) string

ToDirectoryURL ensures url ends with a /

func ToWorkingDir

func ToWorkingDir(relDir string, currentExecutablePath string) string

ToWorkingDir gets absolute path from given relative path of the directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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