[ad_1]
The most portable way to do path concatenation is by using filepath.Join:
import "path/filepath"
file, err := os.Open(filepath.Join("XML", fileinfo.Name()))
[ad_2]
solved Go: Inline string concatenation
[ad_1]
The most portable way to do path concatenation is by using filepath.Join:
import "path/filepath"
file, err := os.Open(filepath.Join("XML", fileinfo.Name()))
[ad_2]
solved Go: Inline string concatenation