[Solved] Go: Inline string concatenation


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()))

solved Go: Inline string concatenation