common

package
v0.0.0-...-80a0973 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileAbsPath

func GetFileAbsPath(fileName string) (result string)

GetFileAbsPath will expand on something such as ~/.ssh/my_id_rsa and return a string like /home/user/.ssh/my_id_rsa

func IsDir

func IsDir(path string) bool

IsDir will return true if the path is a directory

func UniqueStrings

func UniqueStrings(input []string) []string

UniqueStrings takes an array of strings in, returns only the unique ones

Types

This section is empty.

Jump to

Keyboard shortcuts

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