go-tfe library does not provide a way to fetch all workspaces in one request and API itself enforces pagination. I can recommend trying recursively fetch workspace (a loop), until you reach a response with fewer than PageSize records.