improve package gins/gfile/intlog

This commit is contained in:
John
2020-03-28 00:37:23 +08:00
parent 99adb7cdc4
commit f1f575fd5c
15 changed files with 240 additions and 71 deletions

View File

@ -12,7 +12,7 @@ import (
// TestDataPath retrieves and returns the testdata path of current package,
// which is used for unit testing cases only.
// The parameter <names> specifies the its sub-folders/sub-files,
// The optional parameter <names> specifies the its sub-folders/sub-files,
// which will be joined with current system separator and returned with the path.
func TestDataPath(names ...string) string {
path := CallerDirectory() + string(filepath.Separator) + "testdata"