所以我做了一个基本的go包,只是在终端中给你彩色文本,现在我已经确认了这些东西,为包创建了go mod,但是当我运行导入包的文件时,它给了我这个错误
import cycle not allowed
package main
imports github.com/Rachit4/colora
imports github.com/Rachit4/colora
我的 main.go 文件是
package main
import "github.com/Rachit4/colora"
func main() {
red("test")
}
元芳怎么了
阿晨1998
相关分类