# Functions
Generate is the main programmatic entrypoint to genqlient, and generates and returns Go source code based on the given configuration.
Main is the command-line entrypoint to genqlient; it's equivalent to calling
go run github.com/borderlesshq/genqlient
For lower-level control over genqlient's operation, see [Generate].
ReadAndValidateConfig reads the configuration from the given file, validates it, and returns it.
ReadAndValidateConfigFromDefaultLocations looks for a config file in the current directory, and all parent directories walking up the tree.
# Structs
Config represents genqlient's configuration, generally read from genqlient.yaml.
A PackageBinding represents a Go package for which genqlient will automatically generate [TypeBinding] values, and is documented further in the [genqlient.yaml docs].
A TypeBinding represents a Go type to which genqlient will bind a particular GraphQL type, and is documented further in the [genqlient.yaml docs].
# Type aliases
StringList provides yaml unmarshaler to accept both `string` and `[]string` as a valid type.