示例#1
0
func printTable(ctx context.Context, client *bigquery.Client, t *bigquery.Table) {
	it := t.Read(ctx)
	id := t.FullyQualifiedName()
	fmt.Printf("%s\n%s\n", id, strings.Repeat("-", len(id)))
	printValues(ctx, it)
}