fix(go): avoid iOS build suffix in generated filenames
AN
1d ago+3+3+0123456789-1-1-0123456789
Description
Fixes #25488
Go treats filenames ending in _ios.go as iOS-only. Add ios to the existing reserved suffixes so generated model and API filenames end in _ios_.go and remain available to ordinary Go builds.
Tests
GoClientCodegenTest#testFilenames— 1 passed.- Generated the minimal reproduction with the rebuilt CLI;
go build ./...passed. - Generated the full Go SDK from the Dropbox OpenAPI spec with the rebuilt CLI;
go build ./...andgo test ./...passed. git diff upstream/master...HEAD --checkpassed.
Summary by cubic
Fixes Go model and API filenames ending in _ios.go, which Go treats as iOS-only and excludes from ordinary builds. Adds ios to the reserved filename suffixes so generated files end in _ios_.go and remain available to all builds.