如何使用Go在大查询中获取表列名称的列表

I can't seem to find a function in the bigquery golang API to get columns from a table.

You can use Table service to get a table meta info and then iterate table.Schema.Fields

You can also check some existing code using Google BigQuery API https://github.com/viant/bgc/blob/master/dialect.go#L216

You can either use type Schema [1] or run a query to get them [2].

Here's the full documentation of Go language and BQ [3] and how to use the client library [4]. Also, two repositories of Go lang and BQ [5] [6]. Maybe you can think of other ways by checking the documentation posted.