Added passed time
This commit is contained in:
parent
c588553733
commit
98643dd6f1
5
main.go
5
main.go
|
@ -7,12 +7,15 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
const listID = 19
|
||||
|
||||
now := time.Now()
|
||||
|
||||
client := sdk.NewAPIClient(&sdk.Configuration{
|
||||
BasePath: "http://localhost:8080/api/v1",
|
||||
DefaultHeader: make(map[string]string),
|
||||
|
@ -182,7 +185,7 @@ outer:
|
|||
}
|
||||
}
|
||||
|
||||
log.Println("Done.")
|
||||
log.Printf("Done in %v", time.Since(now))
|
||||
}
|
||||
|
||||
func scanLines(path string) ([]string, error) {
|
||||
|
|
Loading…
Reference in New Issue