Provide new pkgs/utils for generic functions

This commit is contained in:
Harshavardhana
2014-12-13 01:14:36 -08:00
parent fb1537248b
commit 20d46a1977
5 changed files with 14 additions and 23 deletions

7
pkgs/utils/helpers.go Normal file
View File

@@ -0,0 +1,7 @@
package utils
import "io/ioutil"
func MakeTempTestDir() (string, error) {
return ioutil.TempDir("/tmp", "minio-test-")
}