Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mdp/qrterminal
/ functions
Functions
23 in github.com/mdp/qrterminal
⨍
Functions
23
◇
Types & classes
1
↓ 20 callers
Function
stringRepeat
(s string, count int)
qrterminal.go:200
↓ 9 callers
Function
Generate
Generate a QR Code and write it out to io.Writer
qrterminal.go:239
↓ 8 callers
Function
GenerateWithConfig
GenerateWithConfig expects a string to encode and a config
qrterminal.go:208
↓ 2 callers
Function
IsSixelSupported
(w io.Writer)
qrterminal.go:52
↓ 1 callers
Function
GenerateHalfBlock
Generate a QR Code with half blocks and write it out to io.Writer
qrterminal.go:252
↓ 1 callers
Function
getLevel
(s string)
cmd/qrterminal/main.go:21
↓ 1 callers
Method
writeFullBlocks
(w io.Writer, code *qr.Code)
qrterminal.go:132
↓ 1 callers
Method
writeHalfBlocks
(w io.Writer, code *qr.Code)
qrterminal.go:154
↓ 1 callers
Method
writeSixel
(w io.Writer, code *qr.Code)
qrterminal.go:81
Function
TestCaptureOutput
New tests that actually verify the output Test that captures and verifies the output
qrterminal_test.go:59
Function
TestConfigVariations
Test with various configurations
qrterminal_test.go:176
Function
TestConsistentOutput
Test that the same input always produces the same output
qrterminal_test.go:287
Function
TestEdgeCases
Test edge cases
qrterminal_test.go:253
Function
TestErrorCorrectionLevels
Test that different error correction levels produce different outputs
qrterminal_test.go:304
Function
TestGenerate
Original tests that just verify the code doesn't crash
qrterminal_test.go:13
Function
TestGenerateHalfBlock
(t *testing.T)
qrterminal_test.go:28
Function
TestGenerateWithConfig
(t *testing.T)
qrterminal_test.go:17
Function
TestGenerateWithHalfBlockConfig
(t *testing.T)
qrterminal_test.go:32
Function
TestGenerateWithHalfBlockMinConfig
(t *testing.T)
qrterminal_test.go:46
Function
TestQRPattern
Test that the QR code pattern is consistent and contains the expected pattern
qrterminal_test.go:338
Function
TestQRStructure
Test the structure of the QR code (size, quiet zone, etc.)
qrterminal_test.go:126
Function
TestSixelDetection
Test that the sixel detection function works
qrterminal_test.go:327
Function
main
()
cmd/qrterminal/main.go:34