Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
type DAO struct{}
func (DAO) QueryAlice() {}
func (*DAO) QueryBob() {}
func demo() {
DAO{}.QueryAlice()
(&DAO{}).QueryBob()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment