Commit 83b16729 authored by Pasan Mallawaarachchi's avatar Pasan Mallawaarachchi 💻

timestamp in std output

parent eece614d
...@@ -184,7 +184,7 @@ func main() { ...@@ -184,7 +184,7 @@ func main() {
} }
// fmt.Println(string(respbody)) // fmt.Println(string(respbody))
fmt.Printf(" %s, %s | ", resp.Status, strconv.Itoa(newDoc.TotalRows)) fmt.Printf(" %s, %s, %s | ", resp.Status, strconv.Itoa(newDoc.TotalRows), time.Now().In(loc).String())
logOutbox(resp.Status, strconv.Itoa(newDoc.TotalRows), time.Now().In(loc).String() /*string(respbody)*/) logOutbox(resp.Status, strconv.Itoa(newDoc.TotalRows), time.Now().In(loc).String() /*string(respbody)*/)
//fmt.Printf("%s, %s, %s", resp.Status, strconv.Itoa(newDoc.TotalRows), string(respbody)) //fmt.Printf("%s, %s, %s", resp.Status, strconv.Itoa(newDoc.TotalRows), string(respbody))
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment