Skip to content

Instantly share code, notes, and snippets.

View ohmpatel1997's full-sized avatar
🚀
hustling

ohm ohmpatel1997

🚀
hustling
  • Dubai
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ohmpatel1997 on github.
  • I am ohmpatel1997 (https://keybase.io/ohmpatel1997) on keybase.
  • I have a public key ASD5pEnVO8noHi6q0sgPYJBIBU-zDWBWU01FiCOkn14QXAo

To claim this, I am signing this object:

package main
import (
"fmt"
"time"
)
type Topic struct {
message string
func main() {
s := time.Now()
args := os.Args[1:]
if len(args) != 6 { // for format LogExtractor.exe -f "From Time" -t "To Time" -i "Log file directory location"
fmt.Println("Please give proper command line arguments")
return
}
startTimeArg := args[1]
finishTimeArg := args[3]