MCPcopy Create free account
hub / github.com/expr-lang/expr / Aba

Method Aba

test/interface/interface_method_test.go:27–29  ·  view source on GitHub ↗

Aba is a special method that is not part of the Bar interface, but is used to test that the correct method is called. "Aba" name is chosen to be before "Bar" in the alphabet.

()

Source from the content-addressed store, hash-verified

25// but is used to test that the correct method is called. "Aba" name
26// is chosen to be before "Bar" in the alphabet.
27func (b BarImpl) Aba() bool {
28 return true
29}
30
31func (b BarImpl) Bar() int {
32 return 42

Callers 1

TestInterfaceMethodFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected