gagliardetto / anchor-go

Generate Go clients from anchor IDLs for Solana blockchain programs
MIT License
138 stars 31 forks source link

Conditionally strip account suffix from accessors #2

Closed Willyham closed 2 years ago

Willyham commented 2 years ago

Fixes #1

This doesn't implement the fix for failing when there is a conflict, but it does solve the immediate issue of generating invalid code by introducing the new flag.

gagliardetto commented 2 years ago

Thank you for this fix!

Willyham commented 2 years ago

Thanks for patching. Sorry, for some reason my editor picked that strange library with goimports.

On Thu, 21 Oct 2021 at 20:43, Slavomir @.***> wrote:

Thank you for this fix!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gagliardetto/anchor-go/pull/2#issuecomment-948947565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJMA5XSPJCY7RIJ7KCYCDUIBUO3ANCNFSM5GLOUV3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.