How would one print the method set of the following interface?
type Searcher interface {
Search(query string) (found bool, err error)
ListSearches() []string
ClearSearches() (err error)
}
Such that
Search
ListSearches
ClearSearches
is printed out? (Without knowledge of a concrete type which implements it).