MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / DateTime

Function DateTime

env/types.go:209–215  ·  view source on GitHub ↗

DateTime defines date-time env var descriptor.

(name string)

Source from the content-addressed store, hash-verified

207
208// DateTime defines date-time env var descriptor.
209func DateTime(name string) DateTimeVar {
210 return DateTimeVar{
211 Name: name,
212 format: "RFC3339 date-time string",
213 parseFn: parseDateTime,
214 }
215}
216
217// ExistingFilePath defines env var descriptor for a path to an existing file.
218func ExistingFilePath(name string) ExistingFilePathVar {

Callers 2

config.goFile · 0.92
TestDateTimeFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestDateTimeFunction · 0.74