Last active
November 2, 2016 18:17
-
-
Save cep21/2c9fd259869eb19d11010e0e4f5f35ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"app" | |
"store" | |
) | |
func main( { | |
// ./store_main.go:9: cannot use Store literal (type *Store) as type app.Renderable in argument to app.RunApplication: | |
// *Store does not implement app.Renderable (wrong type for RenderPage method) | |
// have RenderPage(Totaller) | |
// want RenderPage(app.Totaller) | |
app.RunApplication(nil, &store.Store{}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment