MCPcopy Index your code

hub / github.com/mdp/qrterminal / functions

Functions23 in github.com/mdp/qrterminal

↓ 20 callersFunctionstringRepeat
(s string, count int)
qrterminal.go:200
↓ 9 callersFunctionGenerate
Generate a QR Code and write it out to io.Writer
qrterminal.go:239
↓ 8 callersFunctionGenerateWithConfig
GenerateWithConfig expects a string to encode and a config
qrterminal.go:208
↓ 2 callersFunctionIsSixelSupported
(w io.Writer)
qrterminal.go:52
↓ 1 callersFunctionGenerateHalfBlock
Generate a QR Code with half blocks and write it out to io.Writer
qrterminal.go:252
↓ 1 callersFunctiongetLevel
(s string)
cmd/qrterminal/main.go:21
↓ 1 callersMethodwriteFullBlocks
(w io.Writer, code *qr.Code)
qrterminal.go:132
↓ 1 callersMethodwriteHalfBlocks
(w io.Writer, code *qr.Code)
qrterminal.go:154
↓ 1 callersMethodwriteSixel
(w io.Writer, code *qr.Code)
qrterminal.go:81
FunctionTestCaptureOutput
New tests that actually verify the output Test that captures and verifies the output
qrterminal_test.go:59
FunctionTestConfigVariations
Test with various configurations
qrterminal_test.go:176
FunctionTestConsistentOutput
Test that the same input always produces the same output
qrterminal_test.go:287
FunctionTestEdgeCases
Test edge cases
qrterminal_test.go:253
FunctionTestErrorCorrectionLevels
Test that different error correction levels produce different outputs
qrterminal_test.go:304
FunctionTestGenerate
Original tests that just verify the code doesn't crash
qrterminal_test.go:13
FunctionTestGenerateHalfBlock
(t *testing.T)
qrterminal_test.go:28
FunctionTestGenerateWithConfig
(t *testing.T)
qrterminal_test.go:17
FunctionTestGenerateWithHalfBlockConfig
(t *testing.T)
qrterminal_test.go:32
FunctionTestGenerateWithHalfBlockMinConfig
(t *testing.T)
qrterminal_test.go:46
FunctionTestQRPattern
Test that the QR code pattern is consistent and contains the expected pattern
qrterminal_test.go:338
FunctionTestQRStructure
Test the structure of the QR code (size, quiet zone, etc.)
qrterminal_test.go:126
FunctionTestSixelDetection
Test that the sixel detection function works
qrterminal_test.go:327
Functionmain
()
cmd/qrterminal/main.go:34