mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01:00
1.1 KiB
1.1 KiB
qrcode-terminal-go
QRCode terminal for golang.
Example
package main
import "github.com/Baozisoftware/qrcode-terminal-go"
func main() {
()
Test1()
Test2}
func Test1(){
:= "Hello, 世界"
content := qrcodeTerminal.New()
obj .Get(content).Print()
obj}
func Test2(){
:= "https://github.com/Baozisoftware/qrcode-terminal-go"
content := qrcodeTerminal.New2(qrcodeTerminal.ConsoleColors.BrightBlue,qrcodeTerminal.ConsoleColors.BrightGreen,qrcodeTerminal.QRCodeRecoveryLevels.Low)
obj .Get([]byte(content)).Print()
obj}
Screenshots
Windows XP
### Windows 7 ### Windows 10 ### Ubuntu ### macOS