golangdiff类型的函数提供“未解析的类型”Im using function like following which works
import (
"m5/cmd/models"
)
func  TypeCommand(m Modules) string {
diff函数…
}
Now I want to change
func (m models.Modules) TypeCommand() string {
}
And now Im getting error “unresolved type modules” , why ? the first function is compiled ...

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。