From cfcbaee5f1ed6cbb15ce1485c63029310a60c79a Mon Sep 17 00:00:00 2001 From: JuLi0n21 Date: Fri, 13 Mar 2026 17:18:04 +0100 Subject: [PATCH] remove tests --- example.go | 32 -------------------------------- example_test.go | 11 ----------- 2 files changed, 43 deletions(-) delete mode 100644 example.go delete mode 100644 example_test.go diff --git a/example.go b/example.go deleted file mode 100644 index d5a5ab2..0000000 --- a/example.go +++ /dev/null @@ -1,32 +0,0 @@ -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 -} diff --git a/example_test.go b/example_test.go deleted file mode 100644 index 25a5ae9..0000000 --- a/example_test.go +++ /dev/null @@ -1,11 +0,0 @@ -package gotsclient - -import ( - "fmt" - "testing" -) - -func TestGenerateClient(t *testing.T) { - - fmt.Println(GenClient(Api{}, "./client.ts")) -}