首先是获取
go get rsc.io/quote/v4
go mod tidy
然后就可以使用这个外部包
package main
import (
"fmt"
"rsc.io/quote/v4"
)
func main() {
//fmt.Println("Hello,world")
fmt.Println(quote.Go())
}
标签:依赖,quote,fmt,确认,rsc,io,go,main,下载
From: https://www.cnblogs.com/ukzq/p/17117765.html