如何调用未在golang中导入的包的函数
mypkg.go
package mypkg
import "fmt"
func Test(){
fmt.Println("test")
}
main.go
package main
func main(){
// I didn't import the package "mypkg"
// How to invoke the function named Test() of package "mypkg"
}
我需要你的帮助,谢谢。
慕哥6287543
相关分类