runtime

获取运行时的信息

获取操作系统的类型
os_type := runtime.GOOS
windows / linux

posted @ 2019-09-08 09:53  π=3.1415926  阅读(95)  评论(0编辑  收藏  举报