go包管理 Posted Dec 19, 2018 By Ahern 1 min read包舒适化顺序main.go先执行import的包import的顺序为深度优先同一个包中先执行const -> var ->init(可以有多个,执行顺序无序)同一个包只能初始化一次参考https://blog.csdn.net/claram/article/details/77745665 root, go go This post is licensed under CC BY 4.0 by the author. Share