From 2f70e6f27a7e2136e54ee6349921ebf2022d7451 Mon Sep 17 00:00:00 2001 From: Aleksandr Sergin Date: Fri, 23 Aug 2019 19:03:43 +0300 Subject: [PATCH] fix linter error --- yq.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/yq.go b/yq.go index a16af4b2..2ebc8496 100644 --- a/yq.go +++ b/yq.go @@ -37,11 +37,8 @@ func main() { } } -/* - GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes. - MoveFile(source, destination) will work moving file between folders -*/ - +//MoveFile - os.Rename() give error "invalid cross-device link" for Docker container with Volumes. +//MoveFile(source, destination) will work moving file between folders func MoveFile(sourcePath, destPath string) error { inputFile, err := os.Open(sourcePath) if err != nil {