square / certigo

A utility to examine and validate certificates in a variety of formats
Apache License 2.0
943 stars 70 forks source link

undefined: time.UnixMilli and lib/ocsp.go:151:17: undefined: io.ReadAll #287

Open TayyabIkhlaq opened 2 years ago

TayyabIkhlaq commented 2 years ago

When i ran installation command "go install github.com/square/certigo" into my ubuntu terminal inside certigo directory ,it gives below errors.

github.com/square/certigo/lib lib/ct.go:32:25: undefined: time.UnixMilli lib/ocsp.go:151:17: undefined: io.ReadAll

There is no information to resolve this error on google.Please guide how can i resolve this error ?

jdtw commented 2 years ago

What version of Go are you using (go version)?

TayyabIkhlaq commented 2 years ago

It is go 1.13.

TayyabIkhlaq commented 2 years ago

Now i upgrade it to go 1.19,but still get no results.When i type certigo i didn't recognize it.

TayyabIkhlaq commented 2 years ago

What version of Go are you using (go version)?

It is go 1.19 now,previously go 1.13 also checked but not worked.