package
6.7.2
Repository: https://github.com/b2wdigital/restql-golang.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewResourceID make a ResourceID from a Statement.
NewResources constructs a Resources collection from a slice of statements.

# Constants

Methods available to be used in query statements.
No description provided by the author
No description provided by the author
Methods available to be used in query statements.
Methods available to be used in query statements.
No description provided by the author
Methods available to be used in query statements.
Methods available to be used in query statements.

# Variables

ErrRequestTimeout is the error returned by HTTPClient when a HTTP call fails due to the request exceeding the timeout defined in HTTPRequest.

# Structs

No description provided by the author
AsBody is a Function that define a `with` parameter as the request body for statements using to, into or patch methods.
NoExplode is a Function that disable object explosion when resolving with values.
Base64 is a Function that encode the target value as base64.
CacheControl is the internal representation of the `max-age` and `s-max-age` clauses.
Debugging represents the collection of information about the statement result.
DependsOn is the internal representation of the `depends-on` clause.
Details represents metadata about the statement result.
NoExplode is a Function that disable object explosion when resolving with values.
Flatten is a Function that encode the target value as a plain list of value.
JSON is a Function that encode the target value as json.
Match is a Function that select values from the statement result based on the given Arg.
NoExplode is a Function that disable object explosion when resolving with values.
NoMultiplex is a Function that disable request multiplexing of statements with list parameters.
Params is the internal representation of the `with` clause.
Query is the internal representation of the restQL language.
Statement is the internal representation of a query statement.
Variable is the internal representation of a variable parameter value.

# Interfaces

EnvSource expose access to environment variables.
Function is the interface implemented by types that provide encoding, filters and special behaviour through the apply operator.
HTTPClient is the interface that wrap the method Do Do takes an HTTPRequest and execute it respecting the cancellation signal from the given Context.

# Type aliases

Chain is the internal representation of a chain parameter value.
Modifiers is the internal representation of the `use` clause.
ResourceID is an unique identifier used by a statement.
Resources represents the index of statements already resolved or to be resolved.