uos

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PATH_DELIMITER = unix_path_delimiter
	LINE_WRAPPER   = linux_line_wrapper
)

Variables

This section is empty.

Functions

func FixPathEndSlash added in v0.0.5

func FixPathEndSlash(path string) string

如果末尾没有斜杠,则添加斜杠 windows linux

func FixPathNoEndSlash added in v0.0.5

func FixPathNoEndSlash(path string) string

如果末尾有斜杠,则移除斜杠 windows linux

Types

This section is empty.

Jump to

Keyboard shortcuts

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