Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-09-20 10:19:39 +00:00
parent 4319f7bf4c
commit 77810789ff
10 changed files with 113 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
package example
import (
"fmt"
"github.com/micro/services/clients/go/qr"
"os"
)
//
func GenerateAqrCode() {
qrService := qr.NewQrService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := qrService.Generate(&qr.GenerateRequest{
Size: 300,
Text: "https://m3o.com/qr",
})
fmt.Println(rsp, err)
}