This commit is contained in:
Chris Lu 2020-04-04 15:15:10 -07:00
parent d1d9137e8c
commit 2a2d92d06e

View file

@ -3,6 +3,7 @@ package main
import ( import (
"flag" "flag"
"fmt" "fmt"
"runtime"
"syscall" "syscall"
) )
@ -14,6 +15,10 @@ func main() {
flag.Parse() flag.Parse()
fillInDiskStatus(*dir) fillInDiskStatus(*dir)
fmt.Printf("OS: %v\n", runtime.GOOS)
fmt.Printf("Arch: %v\n", runtime.GOARCH)
} }
func fillInDiskStatus(dir string) { func fillInDiskStatus(dir string) {