Skip to content

Instantly share code, notes, and snippets.

@kurin
Created June 4, 2018 22:57
Show Gist options
  • Save kurin/dacebb78b5633533bd055f2fbc8fa071 to your computer and use it in GitHub Desktop.
Save kurin/dacebb78b5633533bd055f2fbc8fa071 to your computer and use it in GitHub Desktop.
type ThingInt struct {
}
func (t ThingInt) FooInt(i, j int)
func (t ThingInt) Foo(i, j interface{})
type ThingString struct {
}
func (t ThingString) FooString(i, j string)
func (t ThingString) Foo(i, j interface{})
type ThingCustomType struct {
}
func (t ThingCustomType) FooCustomType(i, j CustomType)
func (t ThingCustomType) Foo(i, j interface{})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment