[Solved] How do you return a non primitive type variable in golang


Looks like bigquery.NewClient returns a (*Client, error), so if you’re trying to encapsulate that, you can probably just write a function that returns a *bigquery.Client

3

solved How do you return a non primitive type variable in golang