how to scan file using golang code example Example: golang read line package main import "fmt" func main(){ x := string fmt.Scanln(&x) }