# Functions
FormatDuration will convert DurationLiteral into formatted string representation.
No description provided by the author
MustParseTime parses a time literal and panics in the case of an error.
ParseDir parses all files ending in '.flux' within the specified directory.
ParseDuration will convert a string into an DurationLiteral.
ParseFile parses the specified path as a Flux source file.
ParseSignedDuration will convert a string into a possibly negative DurationLiteral.
ParseSource parses the string as Flux source code.
ParseSourceWithFileName parses the string as Flux source code and will have fileName in the ast's The parsed package may contain errors, use ast.Check to check for errors.
ParseString removes quotes and unescapes the string literal.
ParseTime will convert a string into an *ast.DateTimeLiteral.
No description provided by the author