Presently, [1] uses func New(client *http.Client) (*Service, error) to obtain a new calendar service. The function is deprecated as documented in [2].
Instead, the function func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) should be used.
Presently, [1] uses
func New(client *http.Client) (*Service, error)
to obtain a new calendar service. The function is deprecated as documented in [2]. Instead, the functionfunc NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)
should be used.[1] https://github.com/mattermost/mattermost-plugin-google-calendar/blob/master/server/utils.go#L76 [2] https://godoc.org/google.golang.org/api/calendar/v3#New