This commit is contained in:
2026-03-13 16:55:58 +01:00
commit a82223e194
13 changed files with 837 additions and 0 deletions

32
example.go Normal file
View File

@@ -0,0 +1,32 @@
package gotsclient
type Api struct {
}
type ReturnValue struct {
Field []string
Second int
Uhhhh *uint32
}
type ReceiveValue struct {
Field []string
Second int
Uhhhh *uint32
}
func (a Api) EmptyParams() (string, error) {
return "", nil
}
func (a Api) Structs(value ReceiveValue) (ReturnValue, error) {
return ReturnValue{}, nil
}
func (a Api) ComplexThings(items []string) (map[string]int, error) {
return map[string]int{}, nil
}
func (a Api) ManyParams(b, c, d, e, f, g, h, i, j int) (string, error) {
return "", nil
}