config

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package config acts as a base package for different configuration options used when creating or working with QFrames.

Most of the configs use "functional options" as presented here: https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis

While it is a nice way to overcome the lack of keyword arguments in Go to be able to extend function signatures in a backwards compatible way the problem with this method (as I see it) is that the discoverability of existing config options is lacking.

This structure hopes to help (a bit) in fixing that by having a separate package for each configuration type. That way the function listing of each package conveys all options available for that particular config option.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL