Commits

Joseph Poirier  committed 69fb214

build fixes

  • Participants
  • Parent commits 99b9240

Comments (0)

Files changed (2)

 	flag.BoolVar(&sFlag, "s", false, statMsg)
 	flag.BoolVar(&hFlag, "h", false, prntMsg)
 	flag.BoolVar(&helpFlag, "help", false, prntMsg)
-	if syscall.OS == "windows" {
+	if syscall.GOOS == "windows" {
 		sepChar = `;`
 		// TODO: Is this necessary? windows handles forward slashes
 		// to what level, ie is it different between user and
 package main
 
 import (
-	"time"
+
 )
 
 const VERSION = "1.2"
 
 var (
-	compTime *time.Time = time.LocalTime()
 	aFlag 	 bool
 	sFlag 	 bool
 	hFlag 	 bool
 	allMsg  = "List all executable instances found rather than just the first one."
 	statMsg = "Output 'Found' if any of the executables were found and 'None' if none were found."
 	prntMsg = "Print this usage message."
-	compMsg = compTime.Format(time.RFC822)
 	helpMsg = "gich " + "(v" + VERSION + ")  " +
 			"a cross platform which tool written in Go\n" +
 			"Usage: gich [-l|-s|-h|-help] file ... \n" +