go-sdk icon indicating copy to clipboard operation
go-sdk copied to clipboard

abigen不兼容高版本go

Open cuiyuchain opened this issue 3 years ago • 2 comments

当使用1.15及以上版本的go语言,生成abigen时,会报错如下: undefined: utils.NewApp undefined: utils.OriginCommandHelpTemplate 而使用1.14及以下版本go不会报错

cuiyuchain avatar Feb 16 '22 05:02 cuiyuchain

检查你的go.mod中依赖版本是否和下面一致 https://github.com/FISCO-BCOS/go-sdk/blob/5ca92a028af6bf19b874455cbb3f40724a04e92c/go.mod#L10

bxq2011hust avatar Feb 17 '22 09:02 bxq2011hust

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 13 '22 08:08 stale[bot]