pathos

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileHasPrefix

func FileHasPrefix(s, prefix string) bool

func FileHasSuffix

func FileHasSuffix(s, suffix string) bool

func FileStringEquals

func FileStringEquals(s1, s2 string) bool

func FileTrimPrefix

func FileTrimPrefix(s, prefix string) string

func FileTrimSuffix

func FileTrimSuffix(s, suffix string) string

func GoEnv added in v1.0.3

func GoEnv(name, line string) (value string, ok bool)

GoEnv parses a "go env" line and checks for a specific variable name.

func SlashToFilepath

func SlashToFilepath(path string) string

func SlashToImportPath

func SlashToImportPath(path string) string

func TrimCommonSuffix

func TrimCommonSuffix(base, suffix string) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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