Added passed time
This commit is contained in:
parent
c588553733
commit
98643dd6f1
5
main.go
5
main.go
|
@ -7,12 +7,15 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
const listID = 19
|
const listID = 19
|
||||||
|
|
||||||
|
now := time.Now()
|
||||||
|
|
||||||
client := sdk.NewAPIClient(&sdk.Configuration{
|
client := sdk.NewAPIClient(&sdk.Configuration{
|
||||||
BasePath: "http://localhost:8080/api/v1",
|
BasePath: "http://localhost:8080/api/v1",
|
||||||
DefaultHeader: make(map[string]string),
|
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) {
|
func scanLines(path string) ([]string, error) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user