remove log when generating client

This commit is contained in:
2026-03-13 18:21:13 +01:00
parent 9cf80f36d8
commit a7dbfebba9

View File

@@ -4,7 +4,6 @@ import (
_ "embed" _ "embed"
"errors" "errors"
"fmt" "fmt"
"log"
"os" "os"
"reflect" "reflect"
"slices" "slices"
@@ -25,7 +24,6 @@ func GenClient(api any, outPutPath string) error {
if err := os.WriteFile(outPutPath, []byte(ts), 0644); err != nil { if err := os.WriteFile(outPutPath, []byte(ts), 0644); err != nil {
return err return err
} }
log.Println("Generated TS client", outPutPath)
return nil return nil
} }
@@ -46,7 +44,6 @@ func GenerateTS(apiType reflect.Type, clientName string) (string, error) {
if i == 0 { if i == 0 {
continue continue
} }
log.Println(param)
collectStructs(param, structs) collectStructs(param, structs)
} }