mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
add test for multiple return values
This commit is contained in:
@@ -44,6 +44,10 @@ func (t TestStruct) GetIntSlice() []int {
|
||||
|
||||
func (t TestStruct) Void() {}
|
||||
|
||||
func (t TestStruct) MultipleReturnValues() (string, int) {
|
||||
return t.String, t.Int
|
||||
}
|
||||
|
||||
type TestProcessor struct {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user