Documentation
¶
Index ¶
- Variables
- func Assert(cond bool, format string, args ...interface{})
- func CopyFile(src, dst string) error
- func ListFiles(dir string) ([]string, error)
- func ListFilesFlat(dir string) ([]string, error)
- func PathExists(path string) (bool, error)
- func RandomString(n int) string
- func ReadFile(filePath string) (string, error)
- func RunCmd(args ...string) error
- func RunCmdWithOutput(args ...string) (string, error)
- func ShouldNotReachHere()
- func ShouldNotReachHereT(msg string)
- func StringQuote(s string) string
- func Unimplemented()
- func UnimplementedT(msg string)
- func WriteStringToFile(filePath string, content string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Guarantee = Assert // More meaningful name:)
Functions ¶
func ListFilesFlat ¶
func PathExists ¶
func RandomString ¶
func RunCmdWithOutput ¶ added in v0.0.2
func ShouldNotReachHere ¶
func ShouldNotReachHere()
func ShouldNotReachHereT ¶
func ShouldNotReachHereT(msg string)
func StringQuote ¶
func Unimplemented ¶
func Unimplemented()
func UnimplementedT ¶
func UnimplementedT(msg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.