clean up go client types
Docker server image / build-and-push (push) Successful in 2m54s

Removed unnecessary type re-implementations in favour of using generated
types directly and providing aliases for import simplicity.
This commit is contained in:
2026-05-11 12:41:19 -07:00
parent 2daaa059a1
commit 11cdef07d2
2 changed files with 14 additions and 79 deletions
@@ -18,8 +18,9 @@ type ConversionResult struct {
func (c *Client) ConvertPPTXFile(ctx context.Context, localPPTXPath string) (*ConversionResult, error) {
createRes, err := c.CreateConversion(
ctx,
filepath.Base(localPPTXPath),
nil,
&CreateConversionOptions{
SourceFilename: filepath.Base(localPPTXPath),
},
)
if err != nil {
return nil, fmt.Errorf("create conversion: %w", err)