mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
improve package gins/gfile/intlog
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user