ACME DNS challenges
This commit is contained in:
parent
7a2592b2fa
commit
5bdf8a5ea3
127 changed files with 24386 additions and 739 deletions
15
vendor/github.com/linode/linodego/util.go
generated
vendored
Normal file
15
vendor/github.com/linode/linodego/util.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
package linodego
|
||||
|
||||
import "time"
|
||||
|
||||
const (
|
||||
dateLayout = "2006-01-02T15:04:05"
|
||||
)
|
||||
|
||||
func parseDates(dateStr string) (*time.Time, error) {
|
||||
d, err := time.Parse(dateLayout, dateStr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &d, nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue