mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
s3 cache client-side support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
13
vendor/github.com/aws/smithy-go/transport/http/time.go
generated
vendored
Normal file
13
vendor/github.com/aws/smithy-go/transport/http/time.go
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
smithytime "github.com/aws/smithy-go/time"
|
||||
)
|
||||
|
||||
// ParseTime parses a time string like the HTTP Date header. This uses a more
|
||||
// relaxed rule set for date parsing compared to the standard library.
|
||||
func ParseTime(text string) (t time.Time, err error) {
|
||||
return smithytime.ParseHTTPDate(text)
|
||||
}
|
Reference in New Issue
Block a user