mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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