golang下划线作用"_" 2023-02-15 本文已影响0人 CStart 1,忽略返回值,如:k, _ := get() 2,判断是否实现接口,如:var _ F = &Pool() 3,导入包,近做初始化操作,如:import _ "pool"