Skip to content

Instantly share code, notes, and snippets.

@cep21
Last active November 2, 2016 18:17
Show Gist options
  • Save cep21/2c9fd259869eb19d11010e0e4f5f35ab to your computer and use it in GitHub Desktop.
Save cep21/2c9fd259869eb19d11010e0e4f5f35ab to your computer and use it in GitHub Desktop.
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