I want to print the results line by line.

I'm getting the record's data through exe command.

Here is the code:

package main

import (
"bufio"
"fmt"
"os/exec"
)

func main() {
app := "df"
//app := "buah"

arg0 := "-h"

cmd := exec.Command(app, arg0)
stdout, err := cmd.Output()

if err != nil {
    println(err.Error())
    return
}

// bytes, _ := ioutil.ReadAll(stdout)

s := bufio.NewScanner(stdout)

fmt.Println(s)

}

Thanks in advance. Any help is greatly appreciated.