fmt.scan

package main

import {
	"fmt"
  	"log"

}

input, err := fmt.Scan("Input some value to be scanned")
if err != nil {
  log.Fatal(err) //Error logged if given
}
fmt.Println(input, " has been scanned as input value")
Armandres