[Go 编程语言] 请问 golang 怎么做单元测试 发布于2022年5月21日 作者:phliyundi 请问 golang 怎么简便地做单元测试,有类似于 python 的 if __name__ == ‘__main__’: 这种直接写在 package 内可以运行的吗?