[go-nuts] Golang smart contracts with GNO

2022-03-29 Thread Jae Kwon
Hello gophers, Long time lurker and Go user here. I am the creator of Tendermint (and the CosmosSDK) for blockchain programming. I love Go and the relative simplicity of its spec, and have always wanted a smart-contract-like scripting platform for blockchains that can run Go. The CosmosSDK is

[go-nuts] Re: Constraining a type parameter to implement an interface via pointer receiver

2022-03-29 Thread Jason Phillips
Note that the linked code operates on a copy of each DoImpl so mutations won't be visible outside of DoSlice(): https://go.dev/play/p/sgRDQMcLow8 You can fix that by indexing into the slice instead: https://go.dev/play/p/0eA_pQ12jzl On Monday, March 28, 2022 at 5:11:47 PM UTC-4 s...@panix.com w