会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
47759476
Once you get through that terrifying factual and accepting that,then every place is the center of the universe,and every moment is the most important moment and everything is the meaning of life
博客园
首页
新随笔
联系
订阅
管理
2021年3月27日
用GoLand写Go语言时怎么对同一个包、不同包下的文件中的方法进行调用?
摘要: 用GoLand写Go语言时怎么对同一个包、不同包下的文件中的方法进行调用? 1 同包裹不同文件下的方法调用 方法1 目录结构: main.go: package main import ( "fmt" ) /** 测试同包裹不同文件下的方法调用 方法1 设置所有文件中的package都为main才可
阅读全文
posted @ 2021-03-27 01:12 TR_Goldfish
阅读(3379)
评论(0)
推荐(0)
编辑
公告