title: What is wrong with this go code, and what is os.Stdin?
body: <pre><code>  1 package main                                                                                                          
    2                                                                                                                       
    3 import (                                                                                                              
    4         "bufio"                                                                                                       
    5         "fmt"                                                                                                         
    6         "os"                                                                                                          
    7 )                                                                                                                     
    8                                                                                                                       
    9 func main() {                                                                                                         
   10         input := bufio.NewScanner(os.Stdin)                                                                           
   11         if input.Scan == 1 {                                                                                          
   12                 fmt.println("true")                                                                                   
   13         }                                                                                                             
   14 }     
  </code></pre>
  
  <p>I want create something that will ask for user input, then check if that user input = 1</p>