CodyGuo
CodyGuo
发送邮件的例子 ```python import time import itchat import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage def sendmail(data): msg_from = '[email protected]' # 发送方邮箱 passwd = 'xxx'...
发送邮件的例子 ```python import time import itchat import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage def sendmail(data): msg_from = '[email protected]' # 发送方邮箱 passwd = 'xxx'...
@xuri Thank you, waiting for your good news.
set GOARCH=amd64
```shell windows 10 go version go1.17.5 windows/amd64 github.com/pterm/pterm v0.12.33 ``` code ```go package main import "github.com/pterm/pterm" func main() { pterm.DefaultBigText.WithLetters(pterm.NewLettersFromStringWithStyle( "Pterm", pterm.NewStyle(pterm.FgCyan))).Render() } ``` 
文档有点简陋,我这里有一个例子,可以参考一下: ```html {{ define "my.__text_alert_list" }} **告警级别:** \[{{ .Labels.severity | upper }}\] {{ .Annotations.summary }} **告警应用:** {{ .Labels.source }} **告警实例:** {{ .Labels.instance }} **告警描述:** {{ .Annotations.description }} **Prometheus:** [📈]({{ .GeneratorURL...
https://github.com/lxn/walk/tree/master/examples/filebrowser
go get github.com/CodyGuo/win 应该可以编译通过的