title: How to print without a newline in Golang?
body: <p>The code is</p>
  <pre><code>fmt.Println(&quot;Enter a number : &quot;) // a new line is automatically printed here. How to cancel that ?
  fmt.Scanln(&amp;a)
  </code></pre>
  <p>The output is</p>
  <pre><code>Enter a number : 
  45
  </code></pre>
  <p>I want the output as</p>
  <pre><code>Enter a number : 45
  </code></pre>