hariprasadraja
10/3/2019 - 7:14 AM

go file open

opens a file

	file, err := os.Open("test.txt")
	if err != nil {
		log.Fatal(err)
	}

	defer func() { _ = file.Close() }()