Last active
November 2, 2016 18:11
-
-
Save cep21/1fd539f89622716fcad9fe85abbfda55 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 store | |
type Totaller interface { | |
Subtotal() float64 | |
} | |
type Store struct { | |
} | |
func (s *Store) RenderPage(t Totaller) { | |
// Do thing with t | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment