package main

import (
	"fmt"
	"io/ioutil"
	"strings"
)


func readlines(file string) []string {

	content, _ := ioutil.ReadFile(file)
    str := string(content)
    lines := strings.Split(str, "\n")
	return lines
	
}

func main() {
	
	var lines = readlines("test.txt")

    //Print the string str
	fmt.Println(lines[0])
}