go

如何使方法参数评估延迟?

英文: How to make method argument evaluation lazy? 问题 我在我的代码中有一个调试日志语句,我正在将一个昂贵方法调用的结果传递给它。 log.debug(...