Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &Config{ UseSGR: true, Level: M, }
DefaultConfig is used by the Generate function You can change it's values, or create a Config instance of your own.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// UseSGR, when true, Generate() uses Select Graphic Rendition (github.com/foize/go.sgr) to force correct colors in the terminal (black/white)
// You should disable this when writing the result to a file
UseSGR bool
// Level indicates the required redudancy level for the generated QR's
// You can keep the redundancy value low because screens are pretty bright and clean.... Or well, they should be.
Level Level
}
Config hold all paramters that can be set with this library
Click to show internal directories.
Click to hide internal directories.

