解决这个现象的方式和dig.In 类似,还有一个dig.Out,用法一致。 type BuildServerdependences struct { dig.Out ServerConfig *ServerConfig MySQL ...
確定! 回上一頁