config: remove unused sep variable (#1262)
This commit is contained in:
parent
6aaaf54275
commit
80f2bfd5d0
@ -12,10 +12,6 @@ import (
|
|||||||
"github.com/micro/go-micro/v2/config/source/file"
|
"github.com/micro/go-micro/v2/config/source/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
sep = string(os.PathSeparator)
|
|
||||||
)
|
|
||||||
|
|
||||||
func createFileForIssue18(t *testing.T, content string) *os.File {
|
func createFileForIssue18(t *testing.T, content string) *os.File {
|
||||||
data := []byte(content)
|
data := []byte(content)
|
||||||
path := filepath.Join(os.TempDir(), fmt.Sprintf("file.%d", time.Now().UnixNano()))
|
path := filepath.Join(os.TempDir(), fmt.Sprintf("file.%d", time.Now().UnixNano()))
|
||||||
|
Loading…
Reference in New Issue
Block a user