terminal input scan golang package