Documentation
¶
Overview ¶
Package path provides Node.js path module equivalents for transpiled TypeScript code.
Index ¶
- Variables
- func Basename(p string, ext ...string) string
- func Dirname(p string) string
- func Extname(p string) string
- func IsAbsolute(p string) bool
- func Join(parts ...string) string
- func Normalize(p string) string
- func Relative(from, to string) (string, error)
- func Resolve(parts ...string) string
- type ParsedPath
Constants ¶
This section is empty.
Variables ¶
View Source
var Delimiter = string(filepath.ListSeparator)
Delimiter is the OS-specific path list delimiter.
View Source
var Sep = string(filepath.Separator)
Sep is the OS-specific path separator.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.