Skip to content

Instantly share code, notes, and snippets.

@hschoenburg hschoenburg/GoSyntax?.md

Last active May 18, 2019
What would you like to do?

Not sure what the underscore is for here? (golang) How does assigning a struct literal to a var result in two return values? I dont understand.

 var (
   _ sdk.AppModule      = AppModule{}
   _ sdk.AppModuleBasic = AppModuleBasic{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.