Closed binnz closed 2 years ago
pub struct Order { account_type: Header, mint: Pubkey, user: Pubkey, token_mint: Option<Pubkey>, price: u64, } type Pubkey [32]byte
like this rust struct, how to Deserialize use borsh in golang?
@ouromoros Can you help here, please?
Option<Pubkey> would correspond to *Pubkey type in Go here. The doc should have made it clear.
Option<Pubkey>
*Pubkey
like this rust struct, how to Deserialize use borsh in golang?