摘要: ``` package main import ( "fmt" "github.com/yuin/gopher lua" ) func hello(L lua.LState) int { inputparam := L.ToInt(1) fmt.Println("func hello get:",i 阅读全文
posted @ 2019-04-29 19:24 罗曼骑士 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: 使用golang 开发有时会遇到 golang unrecognized import path "golang.org/x" 之类的错误。原因是无法访问golang.org网站去下载对应的文件。 如果使用的开发IDE是goland,那么 打开 FILE setting Go Modules 选项 阅读全文
posted @ 2019-04-29 11:13 罗曼骑士 阅读(9885) 评论(0) 推荐(1) 编辑