title: Initializing empty object in Go
body: <p>I will use exec.Command with different arguments depending on a variable.  I do <code>cmd := exec.Command(...</code> in the if/else brackets , so <code>cmd</code> is unusable outside of that scope.  Is it possible to initialize <code>cmd</code> above if/else so that it can be used afterward?</p>