Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateDirectory = func(path string, dirName string, force bool) error { var newDirPath bytes.Buffer newDirPath.WriteString(path) newDirPath.WriteString("/") newDirPath.WriteString(dirName) var err error if _, err = os.Stat(newDirPath.String()); os.IsNotExist(err) { err = os.Mkdir(newDirPath.String(), 0777) } return err }
CreateDirectory us used to create dir
Functions ¶
func AssertContains ¶
AssertContains checks if the object is inside the given array
func AssertEqual ¶
AssertEqual is equality tester
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.