26 lines
412 B
Go
26 lines
412 B
Go
// Code generated by kitcom. DO NOT EDIT.
|
|
|
|
package main
|
|
|
|
import (
|
|
kittenipc "efprojects.com/kitten-ipc"
|
|
"fmt"
|
|
)
|
|
|
|
type TsIpcApi struct {
|
|
Ipc kittenipc.Callable
|
|
}
|
|
|
|
func (t *TsIpcApi) Div(
|
|
a int, b int,
|
|
) (
|
|
int, error,
|
|
) {
|
|
results, err := t.Ipc.Call("TsIpcApi.Div", a, b)
|
|
if err != nil {
|
|
return 0, fmt.Errorf("call to TsIpcApi.Div failed: %w", err)
|
|
}
|
|
_ = results
|
|
return int(results[0].(float64)), nil
|
|
}
|