MCPcopy Index your code
hub / github.com/araddon/dateparse / MustParse

Function MustParse

parseany.go:192–202  ·  view source on GitHub ↗

MustParse parse a date, and panic if it can't be parsed. Used for testing. Not recommended for most use-cases.

(datestr string, opts ...ParserOption)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestOneFunction · 0.85
TestParseFunction · 0.85
testDidPanicFunction · 0.85
TestInLocationFunction · 0.85

Calls 2

parseTimeFunction · 0.85
parseMethod · 0.80

Tested by 4

TestOneFunction · 0.68
TestParseFunction · 0.68
testDidPanicFunction · 0.68
TestInLocationFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…